Saturday, April 9, 2011

Working with files in ASP.Net

Here is some links to work with files like read file, download file in asp.net.
Generating excel file from stream
(1) Leniel Macaferi's blog: Creating Excel spreadsheets .XLS and .XLSX in C#

(2) Howto: Export a dataset to Excel (c# / asp.net)

(3) ASP.Net 2.0: Export GridView to Excel

(4) Exporting datagrid to Excel:

(5) Export datagrid to Excel in asp.net (Revised)

Read Text file
(1) Reading and writing to the file using ASP.NET C#

(2) How to Read a text file in ASP .NET ?: ASP Alliance

(3) Read data from text file (C#) : Write File « Response « ASP.Net

Export Datatable to CSV
(1) Exporting DataTable to CSV File Format.Net, C#, SQL Blog

Import CSV file and Bind to Grid
(1)
How to import CSV into DataGrid?

Read word file
(1) Microsoft Word Documents from ASP.NET - CodeProject    

(2) Read any document (like .doc, .rtf , txt ) in ASP.Net , C#   

(3) Reading a word document in c#.net      

(4) Reading a word document using C#

Download file
(1) c# - how to download a file from remote server using asp.net - Stack Overflow

(2) c# - Download files using asp.net - Stack Overflow     

(3) Simple FTP demo application using C#.Net 2.0      

(4) Downloading file from remote server with 'Save As' dialogue     

(5) How to download file from remote server in asp.net     

Wednesday, March 16, 2011

Working with PHP and Wordpress blog

Here is some links about installing/configuring PHP and wordpress blog.
Download Wordpress



Coinfigure/Install PHP & Fast CGI on IIS






PHP File Permission Change



Wordpress Deprecated Error


FeedBurner for Wordpress




WordPress Tips N Tricks





Monday, January 24, 2011

Working with MIME type for IIS

Here are some links about working with MIME type for IIS.

- You can add the MIME type entry in web.config file by following the link given below.
(1) How to add mime types with IIS7 Web.config

- You also need to add the MIME type for the media file in IIS by following the link given below.
(1) Creating MIME Types for a Web site or directory (IIS 6.0)

(2) Adding .FLV MIME Type in IIS

(3) Downloading Docx from IE - Setting MIME Types in IIS - Stack Overflow

- You can also find the MIME type from the file name by following thie link given below.
(1) C#: Get MimeType from a File Name

==> MIME type List
(1) Mime Types List - Webmaster Toolkit

(2) MIME Types - Complete List

(3) MIME Media Types

(4) MIME Types by Content Type 
       

Saturday, January 1, 2011

What's New with ASP.Net 4.0

Here is some links as well as some list of changes in ASP.Net 4.0.
(1) string.IsNullOrWhiteSpace added for String

- C# 4.0-string.IsNullOrWhiteSpace()

(2) EnumType.HasFlag added for the Enum

- Enum.HasFlag method in C# 4.0

(3) StringBuilder.Clear() method added for the StringBuilder

- .NET 4.0- A new method StringBuilder.Clear() to clear stringbuilder

(4) SEO Enhancement
    - HemlMeta class added for the elements which contains Name, Content properties
    - New Page.MetaKeywords and Page.MetaDescription properties
    - New URL Routing support for ASP.NET Web Forms
    - New Response.RedirectPermanent() method

- What's New in ASP.NET 4.0 – SEO Enhancements with MetaKeywords and MetaDescription properties
- SEO Improvements with ASP.NET 4

(5) ClientIDMode property for the page element

- What's New in ASP.NET 4.0 - ClientID Generation for a Cleaner MarkUp

(6) ViewStateMode - lets you disable ViewState at a Parent level and then enable it for the child controls that

require it

- What's New in ASP.NET 4.0 – Better ViewState Control

(7) RepeatLayout property for CheckBoxList and RadioButtonList Controls

- ASP.NET 4.0 New Feature- RepeatLayout property for CheckBoxList and RadioButtonList Controls.

(8) FormView Control Enhancement –RenderOuterTable Property

- ASP.NET 4.0-FormView Control Enhancement –RenderOuterTable Property

(9) Zip operator in Linq

- Zip operator in Linq with .NET 4.0

(10) CompressionEnabled Property in session state

- CompressionEnabled Property in session state

(11) List View Control Enhancement

- ASP.NET 4.0 –List View Control Enhancement

(12) Menu control enhancement

- ASP.NET 4.0- Menu control enhancement.

(13) GridView's New Sorting Styles

- A Look at the GridView's New Sorting Styles in ASP.NET 4.0

(14) GUID.Parse Method added

- .NET Framework 4.0-Guid.Parse Method 

(15) ASP.NET 4.0 Code Access Security.Net QA Team 

What is New in ASP.NET 4.0 Code Access Security.Net QA Team     

List of the all changes for ASP.NET 4.0
- ASP.NET 4 and Visual Studio 2010 Web Development Overview: The Official Microsoft ASP.NET Site

- What's New in ASP.NET 4 and Visual Web Developer

- Links to my “Best of 2010” Posts's Blog