Tagged pages

Found 59 articles tagged with ASP.NET

QR code MVC html helper
Display runtime generated QR code in MVC page
0
This article is based on one of my previous topic Advanced Base64 image extension in ASP.NET MVC. It uses the same concept to display image on the page and to cache it, but it involves QR code bitmap generation which is basically a NuGet package use... read more
Posting JSON to WebApi without reference to a model in C#
Post JSON data to WebApi without having new model class on the client
 
0
Web API and in general REST services are becoming more and more often used layer of the applications. It relies on the HTTP, it is lighter than the SOAP and more natural to JavaScript, therefore easy to use both from the client and serer side... read more
Inline JavaScript and CSS tags with ASP.NET MVC
Rendering inline JavaScript and CSS tags in document in MVC
 
0
With ASP.NET MVC Microsoft introduced bundling of JavaScript and CSS resources. These bundles work pretty well but to me it always looks not so natural to define bundles in BundleConfig.css and I had problems if I want to edit CSS or JavaScript during runtime because they are cached... read more
Clean up IIS log files from you web server
Avoid low disk space because of IIS logs
0
Microsoft IIS Server is by default logging every request that reaches it. This can be pretty useful for tracking down the issue which my occur over time, but it is also pilling up log files on server's disk which eventually can cause low disk space... read more
Why is JsonRequestBehavior needed?
Understanding JSON data restriction over HTTP GET requests
0
You probably run to this exception when you tried to fetch JSON data over HTTP GET request. Now, first this is easy to bypass by simply adding JsonRequestBehavior.AllowGet option to method which is retutning JSON data for GET request in a controller file... read more
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