Contents tagged with Web Development
-
Using Azure CDN to render media files
One of my customer, who was using a popular video service to render all his video files in the website was looking for alternatives. The concerns from the customer were the following
-
Securing sections in Web.Config
For ASP.Net applications, developers usually store lots of configuration data in the Web.Config, some of such settings can contain secured information such as connection strings, email settings, proxy settings etc. Storing credential information in Web.Config as plain text is a threat as this could lead to leak the information. Though the web server will not render web.config files to the visitors, you need to see there could be users, such as system administrators, back up operators, etc who have access to your server’s file system. Exposing secured information for such users is a threat and you need to protect your configuration data. The solution is to encrypt the sections in Web.Config and thankfully ASP.Net offers out of the box support for encrypting and decrypting the connection string placed inside Web.Config.
In this article I am going to demonstrate, how to encrypt/decrypt the connection string section in Web.Config, you can follow the same concepts to encrypt any other section in web.config. For the purpose of the article, I created an ASP.Net empty web application and added a default.aspx file. The project in solution explorer looks as follows.
-
Enable RSS feed in SharePoint 2013
For the purpose of this walkthrough, I have created a picture Library named “MyPictures” and added five pictures to this library. The thumbnail view of the picture library is as follows.
-
Bundling and Minification in ASP.Net 4.5
Being a web developer in these days is challenging as well as interesting. With HTML 5 specifications in place, the browsers adding more client side capabilities. JQuery is playing a major role in today’s client side development. As a developer you cannot stay away from these things, you need to adapt these. At the same time you cannot develop (at least not practical as cost/time wise) all those client side scripts, you need to depend on third party JQuery plug-ins to bring attractive user friendly interfaces. There are lots of plug-ins available over internet for free that allows to use in your website. If you are developing sites, you must be using use several plug-ins in your site.
-
Semantic Tags in HTML 5
In December 2012, W3C has published the complete definition of HTML 5 specification. Already most of the browser vendors have implemented support for HTML 5 and you can expect future versions of browsers will have complete support of the specification. In the introduction of HTML 5, web developers faced some challenges to support their markup in non-HTML 5 browsers. This added some cost to web development. Now web developers can expect better browser support and all the browser vendors already announced their commitment to this standard.
-
Integrate Bing Search API into ASP.Net application
Couple of months back, I wrote an article about how to integrate Bing Search engine (API 2.0) with ASP.Net website. You can refer the article here
-
Integrating Flickr with ASP.Net application
Flickr is the popular photo management and sharing application offered by yahoo. The services from flicker allow you to store and share photos and videos online. Flicker offers strong API support for almost all services they provide. Using this API, developers can integrate photos to their public website. Since 2005, developers have collaborated on top of Flickr's APIs to build fun, creative, and gorgeous experiences around photos that extend beyond Flickr.
-
Using custom fonts in your web pages
From the start of web, people were restricted to use standard fonts(those are globally available in all platforms) such as Arial, Times etc, for displaying content in web pages. The main issue was that the browser did not have the capability to read the font from server. Due to this companies were forced to use different font than their branding for the web pages, which created dissatisfaction for the brand owners. Though internet explorer addressed this by allowing embedding font starting from version 4, there was no common method that works universally in all browsers. With HTML 5 specification, things are changing. HTML 5 have a @font-face element, that can be used to link your page with a font that resides in remote location.
-
Introduction to canvas element in HTML 5
One of the new features in HTML 5 is the canvas element. Canvas is a rectangular area where you can draw various objects using the script. In a more simple way you can consider canvas as a rectangular area where you can create your own graphics in the web page.
-
Prevent Cross Site Scripting/HTML injection attacks with <%:
The intention of this article is to speak about the new <%: (Known as Code Nugget syntax) introduced in ASP.Net 4. As mentioned in the title, this will help developers to avoid cross site scripting (XSS) attacks.
-
ViewStateMode in ASP.Net 4.0
When asp.net introduced the concept of viewstate, it changed the way how developers maintain the state for the controls in a web page. Until then to keep the track of the control(in classic asp), it was the developer responsibility to manually assign the posted content before rendering the control again. Viewstate made allowed the developer to do it with ease. The developers are not bothered about how controls keep there state on post back.
-
Getting started with Google custom search Integration
This article assumes that you have a google account already created. If you do not have a google account, you can sign up one from here https://www.google.com/accounts/NewAccount. This article assumes that you want to allow users to search your site using google custom search.