Items By Type: Tutorial

Request.Form Is Empty When Posting To ASPX Page

26 January 2016 07:39

ASP.NET Web Forms

A couple of threads have been posted recently to the ASP.NET forums complaining that values posted to ASPX files are mysteriously disappearing. This post looks at the most likely cause and provides some solutions.

Click to read more about Request.Form Is Empty When Posting To ASPX Page ...

Viewed 200 times

1 Comment for this item

Configuring SQL Server For Session State In ASP.NET Core 1.0 MVC

11 January 2016 13:14

ASP.NET MVC ASP.NET 5 ASP.NET Core

This article looks at the steps required to enable SQL Server as a backing store for Session State in an ASP.NET Core 1.0 MVC application. It builds on my previous article which introduces how to configure and use session state in ASP.NET 5.

Click to read more about Configuring SQL Server For Session State In ASP.NET Core 1.0 MVC ...

Viewed 3752 times

4 Comments for this item

SEO For ASP.NET Web Sites: Getting content indexed

16 December 2015 07:37

ASP.NET MVC ASP.NET Web Forms ASP.NET 5 SEO

This is the last in a series of articles that explore how to optimise ASP.NET web sites for search engines. Each article in the series concentrates on a specific topic and looks at the features and tools available to ASP.NET developers to help make sites search engine friendly and thereby improve rankings and click throughs from search results. This article explores how to ensure that search engines are aware of all of the content you want them to crawl and how to inform them when the location of that content is no longer valid.

Click to read more about SEO For ASP.NET Web Sites: Getting content indexed ...

Viewed 739 times

0 Comments for this item

SEO For ASP.NET Web Sites: URLs

07 December 2015 08:57

ASP.NET MVC ASP.NET Web Forms ASP.NET 5 SEO

This is the second in a series of articles that explore how to optimise ASP.NET web sites for search engines. Each article in the series concentrates on a specific topic and looks at the features and tools available to ASP.NET developers to help make sites search engine friendly and thereby improve rankings and click throughs from search results. This article will looks at some best practices concerning your site's URLs and how to make them more user friendly for search engines and humans alike.

Click to read more about SEO For ASP.NET Web Sites: URLs ...

Viewed 966 times

1 Comment for this item

SEO For ASP.NET Web Sites: Content

01 December 2015 07:53

ASP.NET MVC ASP.NET Web Forms ASP.NET 5 SEO

This is the first in a series of articles that explore how to optimise ASP.NET web sites for search engines. Each article in the series concentrates on a specific topic and looks at the features and tools available to ASP.NET developers to help make sites search engine friendly and thereby improve rankings and click-throughs from search results. This first article will look at how to present your site content to search engines in the most optimal way.

Click to read more about SEO For ASP.NET Web Sites: Content ...

Viewed 1802 times

4 Comments for this item

ASP.NET 5: Uploading files with ASP.NET MVC 6

27 October 2015 13:58

ASP.NET MVC ASP.NET 5

Handling file uploads has changed quite a bit in ASP.NET 5. This article looks at the new objects that have been introduced to replace the old System.Web based approach from previous versions of ASP.NET.

Click to read more about ASP.NET 5: Uploading files with ASP.NET MVC 6 ...

Viewed 6136 times

5 Comments for this item

Uploading multiple files with ASP.NET MVC

19 October 2015 21:09

ASP.NET MVC

I have looked at uploading individual files and downloading multiple files in MVC, and I've had a few requests recently asking me to complete the series by showing how to upload multiple files in an ASP.NET MVC application.

Click to read more about Uploading multiple files with ASP.NET MVC ...

Viewed 5264 times

1 Comment for this item

Downloading multiple files in ASP.NET

09 October 2015 08:53

ASP.NET MVC ASP.NET Web Forms

This short article examines the baffling issue that a lot of people seem to encounter when attempting to send multiple files to the client from an ASP.NET application, and provides the solution.

Click to read more about Downloading multiple files in ASP.NET ...

Viewed 4135 times

3 Comments for this item

ASP.NET 5: Dependency Injection and Services in MVC

24 September 2015 08:05

ASP.NET MVC ASP.NET 5

This is the fourth in a series of articles that explores ASP.NET 5 by reconstructing the Visual Studio 2015 Web Application template from an Empty template. This article looks at the role of services and the new ASP.NET 5 dependency injection system. The series of articles has been developed using Visual Studio RTM and ASP.NET 5 Beta 6. It will be kept updated along with newer releases.

Click to read more about ASP.NET 5: Dependency Injection and Services in MVC ...

Viewed 14601 times

11 Comments for this item

ASP.NET 5: Configuration

04 September 2015 09:32

ASP.NET MVC ASP.NET 5

This is the third in a series of articles that explores ASP.NET 5 by reconstructing the Visual Studio 2015 Web Application template from an Empty template. This article looks at the new configuration system added to ASP.NET 5 and will also cover how services like Entity Framework and MVC itself are added to the project. The series of articles has been developed using Visual Studio RTM and ASP.NET 5 Beta 6. It will be kept updated along with newer releases.

Click to read more about ASP.NET 5: Configuration ...

Viewed 7283 times

3 Comments for this item

ASP.NET 5: Managing Client-side Dependencies with NPM, Bower and Gulp

13 August 2015 21:05

Javascript ASP.NET MVC ASP.NET 5

This is the second in a series of articles that explores what's new in ASP.NET 5 by starting with the Visual Studio 2015 Empty site template and progressively adding files to emulate the Web Application template contents and structure. While not actually part of the ASP.NET 5 framework, this article explores the recommended tools for managing client-side dependencies: NPM, Bower and Gulp. These tools are very popular among front-end developers working with other frameworks and now that they have been integrated as first class citizens in Visual Studio 2015, their use is encouraged among .NET developers. The series of articles has been developed using Visual Studio 2015 and ASP.NET 5 Beta 6. It will be kept updated along with newer releases.

Click to read more about ASP.NET 5: Managing Client-side Dependencies with NPM, Bower and Gulp ...

Viewed 7459 times

4 Comments for this item

ASP.NET 5 Project Basics

04 August 2015 13:20

Visual Studio ASP.NET MVC ASP.NET 5

When you create a new ASP.NET web application using the Web Application template, you are presented with a raft of new folders and files in a completely new structure. This article is the first in a series that attempts to demystify the new structure and the role that some of these files play. The article series starts with the Empty template and adds the various files that you might see in the web application template progressively to illustrate their purpose. This article uses Visual Studio 2105 RTM and ASP.NET 5 Beta 6. It will be updated in line with future releases.

Click to read more about ASP.NET 5 Project Basics ...

Viewed 5278 times

4 Comments for this item

Implementing Google's EU End User Consent Policy

29 July 2015 21:56

Javascript HTML CSS jQuery

The European Union introduced laws some while ago requiring web sites to obtain consent from EU visitors to allow the use of cookies. Most larger corporate sites have implemented a policy for obtaining consent - or an "implied consent" solution, but countless smaller sites and blogs like mine have not bothered. That's about to change for a number of us who are Google Adsense publishers (we carry Google adverts on our sites) because Google has introduced a new EU user consent policy which must be followed by those of us who use products like Google Adsense (and who want to continue using them). This article is a quick overview of what the policy is about, and how I implemented a quick and effective solution.

Click to read more about Implementing Google's EU End User Consent Policy ...

Viewed 931 times

4 Comments for this item

Solved - The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine

23 July 2015 20:05

MS Access ADO.NET EPPlus

There are a number of reasons why you might get "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine" error when attempting to connect to either an accdb or an xlsx file, depending on what you are doing. This article discusses some of the causes and provides solutions first for uses involving ASP.NET, and then looking at other application uses.

Click to read more about Solved - The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine ...

Viewed 101290 times

20 Comments for this item

Reading Text-based Files In ASP.NET

17 July 2015 13:43

C# General ASP.NET MVC ASP.NET Web Forms

Every time I need to work with the contents of text-based files in an ASP.NET application I invariably start off thinking about using the various static methods on the System.IO.File class to extract the text and then some string manipulation or Regex to parse the content into some kind of structure. And, just in time, I remember the TextFieldParser class that hides itself away in the Microsoft.VisualBasic assembly. The purpose of this article is to introduce this component to a wider audience, but also to serve me as an aide-mémoire in terms of the basic usage, which I always have to look up.

Click to read more about Reading Text-based Files In ASP.NET ...

Viewed 1793 times

0 Comments for this item

Recent Comments

Ghazanfar 30/01/2016 06:43
In response to Getting Started with ASP.NET MVC 5 using Visual Basic
Nice working. Please keep it up to convert csharp code into vb.net. Its very helpful for vb...

sara 29/01/2016 09:39
In response to Simple Login and Redirect for ASP.NET and Access
Hi there, I am trying to validate and check for inputs entered. When I don't enter any inputs and...

Martin Thatcher 28/01/2016 17:28
In response to MVC 5 with EF 6 in Visual Basic - Advanced Entity Framework Scenarios
A small typo I think. In the code section that begins Function Index(ByVal SelectedDepartment As As...

Suresh_thefame 28/01/2016 08:03
In response to Sessions and Shopping Carts
Helpful....

Andrey Kurdyumov 28/01/2016 05:47
In response to ASP.NET 5: Uploading files with ASP.NET MVC 6
@Lee IFormFile has OpenReadStream(): Stream method...

Alisa 27/01/2016 18:37
In response to A Better Way To Export Gridviews To Excel
Thanks for this example! I am also asking about the date fields having to be re-formatted when the a...

Dan Buckley 27/01/2016 00:47
In response to What ASP.NET Can And Cannot Do
New to all things programming, this was very helpful and clear. Please write more....

satyabrata 26/01/2016 16:16
In response to Request.Form Is Empty When Posting To ASPX Page
Thank you....

david sanchez 26/01/2016 09:51
In response to ASP.NET MVC 5 with EF 6 - Working With Files
Thanks! This line " <img src="~/images/@Model.FilePaths.First(f => f.FileType == alt="" />" an...

Bryon 25/01/2016 15:06
In response to Windows Authentication With ASP.NET Web Pages
Was hoping this would help solve the issues I'm having. Then I saw the dates and new it was too old....