Tagged pages

Found 54 articles tagged with ASP.NET

Simple Office365 authentication
Use Office365 account login for your application
0
With so many online and cloud based services, adding one more additional account for your application adds additional complexity level for your users since they will have to manage one more account and remember one more password. Microsft ASP.NET comes with pretty nice built in provides for social networks, but for office usage social networks are not so convenient to be used. ... read more
Hide IIS server info in a resposne
Hide server info in ASP.NET with simple web.config setting
0
Last year I wrote an article about ASP.NET web application security check list. Apparently there are always more things to add to improve your web application security... read more
Working with GoogleMaps in jQuery style
jQuery plugin for GoogleMaps
0
I've used GoogleMaps on several web projects and it seemed to me that I'm repeating a lot of code used in the previous projects which lead me to write a common Javascript library to help me easily reuse the code by only copying the JavaScript library to a project or referencing it from CDN. I could not think of a better way to build this library than to use jQuery and build a pligin for this. ... read more
Reading config value to a proper data type
Automatic conversion of values from app.config
 
0
Reading from application config is pretty easy in .NET. You literally need one line to fetch the value... read more
Generate sitemap.xml on the fly in Umbraco CMS
Simple sitemap.xml Umbraco handler
0
Sitemap.xml is important component of SEO which is responsible for indexing your website. Search engine robots are generating indexes of your website based on this file. Since content in Umbraco website is dynamic, it makes not so much sence to have static sitemap.xml file for indexing your content... read more
Microsoft IIS and ASP.NET MVC caching techniques
Ways to cache data and response to improve page performance
 
0
Of course, the best way to make you web application work fluent is to write the code properly and design the architecture of application to meet requirements and certain load depending of the type of application. But even though architecture is good, you can always improve performance by reducing processing in application code itself... read more
Block referrer spam request on ASP.NET application
Block unwanted spam traffic from your wesbite
0
Recently I was checking my Google Analytics for this website I spotted some referrer urls that were completely unknown to me. When I tried to visit the url of the referrers I got a lot of commercial and pop-ups after few redirects. It looked really suspicious, so I tried to find a little bit more about these. ... read more
Enabling CORS only for specific domains in ASP.NET
Enable cross origin resquests only for certain domains in ASP.NET
0
Cross-origin resource sharing (CORS) means that page from other domain can make request to some resource which is on other domain. For example, if you try to invoke some WEB API method which is running on different domain you will get exception in the script. By default CORS are disabled in ASP.NET bot you can easily enable them just by modifying web.config for IIS7 and newer versions pf IIS. ... read more
Styles and images in app_offline.htm file
Display elegant maintenance page while you are upgrading your website
 
0
From time to time we all need to do some maintenance to our websites. ASP.NET has nice integrated feature to put your website online while you are updating files and libraries... read more
Zip whole folder on the fly in ASP.NET MVC application
Generate folder archive and send zip file in a response in ASP.NET MVC
 
0
Generating Zip archives has always been a great thing if you need to generate different content for the request depending on some parameters. In case you need to return multiple files this is one approach to go with... read more