background preloader


Facebook Twitter

Simple C# DLL to download data from Google Finance using an alternative, undocumented method. Introduction Google started a finance service in 2006 that is currently accessible at It offers pretty interesting data and includes the option, for some stocks, to download historical prices through a "Download to spreadsheet" link located precisely at the stock's "Historical prices" page.

Simple C# DLL to download data from Google Finance using an alternative, undocumented method

The article Visualizing Live and Historic Stock Data Using Silverlight analyzes in depth how this can be automated to retrieve historical data automatically. The idea consists of parameterizing a URL of the form However, this option is not available for many stocks, such as those belonging to some non-American exchanges, or for currencies. Fortunately, there exists an alternative (undocumented) method, the one this article explores, that can be used for almost any security "listed" in Google. In order to take advantage of this second method, the article introduces a C# .NET 2.0 class library that automates two operations: Overview of Entity Framework 4.1 Code First Development. How to Use IIS Express for all new file based web sites and projects ? - Daily .Net Tips.

IIS Express is a lightweight, self-contained version of IIS optimized for developers.

How to Use IIS Express for all new file based web sites and projects ? - Daily .Net Tips

IIS Express provides the power of IIS7.x while making it easy to develop and test websites. Why we say that its has power of IIS7.x because it has the code base of IIS 7.5. Visual Studio 2010 SP1 Beta allows you to build and test web applications using IIS Express instead of the built-in ASP.NET Development Web Server (Cassini). If you want to use IIS Express with VS 2010, you have to install IIS Express separately on top of Service Pack 1 For any new web project or for a new Web Application we can converted to use IIS Express very simply by just right clicking on project and select “Use IIS Express” For any existing project, you have to go to project properties to see the IIS Express Version.

But, if you want to use “IIS Express” for all of your web application, you to go to Tools > Option > Web Project and Select the Check Box “Use IIS Express for new file based web sites and projects”. Understanding ASP.NET MVC Model Binding. Total votes: 1 Views: 203,256 Comments: 2 Category: ASP.NET Print: Print Article Please login to rate or to leave a comment.

Understanding ASP.NET MVC Model Binding

Published: 01 Jul 2011 By: Bipin Joshi Download Sample Code ASP.NET MVC model binding allows you to map HTTP request data with a model. This article discusses how model binding works for various types of models (simple types, complex types, collections etc.). Introduction. Sprite Cow - Generate CSS for sprite sheets. C# equivalent of VB's With keyword. There’s no with keyword in C#, like Visual Basic.

C# equivalent of VB's With keyword

Safely deploying changes to production servers. When you deploy incremental changes on a production server, which is running and live all the time, you sometimes see error messages like “Compiler Error Message: The Type ‘XXX’ exists in both…”.

Safely deploying changes to production servers

Sometimes you find Application_Start event not firing although you shipped a new class, DLL or web.config. Sometimes, you find static variables not getting initialized and so on. There are so many weird things happening on web servers when you incrementally deploy changes to the server and the server has been up and running for several weeks. So, I came up with fool proof house keeping steps that we always do whenever we deploy some incremental change to our websites. These steps ensure that the web sites are properly recycled, caches are cleared, all the data stored at Application level is initialized.

First of all, you should have multiple web servers behind a load balancer. During deployment, you should follow these steps: Learn MVC (Model view controller) Step by Step in 7 days – Day 1. Contents About the Authors Just a quick word on both the author’s.

Learn MVC (Model view controller) Step by Step in 7 days – Day 1

Both Shivprasad Koirala and Sukesh Marla are professional MVC trainers you catch them every Saturday and Sunday in Andheri Mumbai where they teach MVC on a weekly basis You can visit their video learning site for MVC i.e. and for offline training contact them at here . So, what’s the agenda? As the article name says, learn MVC; so the agenda is simple, we are going to learn ASP.NET MVC in 7 days. For the first day we will start with a a simple Hello World,passing data between controllers and views , HTML helper classes , MVC models and we will also create a simple customer data entry page. EF 4.1 Model & Database First Walkthrough - ADO.NET team blog. The information in this post is out of date.

EF 4.1 Model & Database First Walkthrough - ADO.NET team blog

Visit for the latest information on current and past releases of EF. For Model First see For Database First see Entity Framework 4.1 RTW is now available and is the first fully-supported go-live release of the DbContext API. This post will provide an introduction to Model First and Database First development with the DbContext API, using the Entity Data Model Designer in Visual Studio. CSS Lint.