Using HTTP Methods for RESTful Services
The HTTP verbs comprise a major portion of our “uniform interface†constraint and provide us the action counterpart to the…
All technologies, only pure source code
The HTTP verbs comprise a major portion of our “uniform interface†constraint and provide us the action counterpart to the…
Create, Update and HTTP Idempotence For developers building REST-based APIs, there is a great deal of misinformation and some understandable…
I prefer to use FileZilla FTP Server above the traditional IIS FTP module. FileZilla comes with a lite and lean…
Here’s a short tutorial on how to use log4net in C# 1. Get log4net from the apache website or use…
This .Net C# code snippet download image from URL. To use this function simply provide the URL of the image…
This example shows how to detect whether a host name or IP address belongs to local computer. Get local computer…
This example shows how to download files from any website to local disk. The simply way how to download file…
Step 1. Set the “Language” report properties according to your regional requirements. In my case: “es-MX” Step 2. Use the…
The introduction of the dynamic keyword in C# 4.0 allows you to do a lot of things you couldn’t do…
I’m VERY confused as to why this code Html.ActionLink(“About”, “About”, “Home”, new { hidefocus = “hidefocus” }) results in this…
In this quick article you will learn how to globalize and localize the model validation messages in MVC Applications. At…
We can render the data as a HTML table and then give the content type as application/excel. Excel renders HTML…
As a web forms developer, I found the transition to MVC to be a bit of a shock at first….
This is another post which was inspired by a recent question in the ASP.NET forums, when someone asked what the…
Introduction Working with images in a web application can turn from a simple task to a complexity in need of…
If you tried to close a window using javascript window.close() method in IE7, and as you may noticed a message…
At times you want to accept user input in your web applications by presenting them with a wizard driven user…
UPDATE: As of jquery.validation version 1.8+ hidden input fields are not validated by default, which means that the wizard form…
In default template of asp.net mvc 4.0, Layout.cshtml has following code for menu: <nav> <ul id=”menu”> <li>@Html.ActionLink(“Home”, “Index”, “Home”)</li> <li>@Html.ActionLink(“About”,…
If you’re new to ASP.NET MVC, you might be wondering what these two things are and when to use each…
The error is: [A]System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration.HostSection. Type A originates from ‘System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ in the context…
According to Microsft in this article is should see an option ‘Code First From Database’ when adding a new item…
namespace PSC{ public class Bollettini { public bool getCode(string strCode) { bool rtn = true; if (strCode.Length != 50)…
ASP.NET MVC 4 was released in beta by the Microsoft ASP.NET MVC Developer Team and it comes with a number…