Posted by andy|Published on: 13 February, 2017|646000
One thing to remember when publishing your ASP.Net web applications, you may find out, some files could be not completely published due to the settings on the file properties. One example that I had are some font types file. In order to fix this problem you can navigate to the files that are missing and right click the properties.
Posted by andy|Published on: 26 August, 2016|4157028
In this tutorial you will learn how easily you can use Dapper.Net to map a database table object. So why do we need to use ORM mapping? Well the answer is simple, the main reason is to save time in coding. You can imagine if you have table contains multiple column fields and you have to map it one by one manually. This can be time consuming.
The slidingExpiration attribute is used in ASP.Net form authentication. This property is used to reset the expiration time for a valid authentication cookie if a request that has already being made has passed the timeout interval. Which means, if it is already expires, the current user will require to re-authentication again.
Posted by andy|Published on: 16 March, 2014|1949000
Learn how to you can return or output parameter with stored procedure in ASP.Net C#. The output parameter sometimes is used in tsql to return a specific value after a specific routine has been executed. One of the frequent cases like inserting a record that needs to return an id.
Posted by andy|Published on: 15 March, 2014|17624118
In this tutorial, I will show you how to write sample data into a csv format and force the data to be downloaded as stream. I will use a StringBuilder object to append the content. For the example data, I will populate a simple customers data information that will contain customer id, name, email.