Tuesday, December 18, 2007

Visual Studio 2008 and .NET 3.5 Released

Visual Studio 2008 and .NET 3.5 Released

Today Visual Studio 2008 and .NET 3.5. is released You can download the final release using one of the links below:

  • If you are a MSDN subscriber, you can download your copy from the MSDN subscription site (note: some of the builds are just finishing being uploaded now - so check back later during the day if you don't see it yet).

  • If you are a non-MSDN subscriber, you can download a 90-day free trial edition of Visual Studio 2008 Team Suite here. A 90-day trial edition of Visual Studio 2008 Professional (which will be a slightly smaller download) will be available next week. A 90-day free trial edition of Team Foundation Server can also be downloaded here.

  • If you want to use the free Visual Studio 2008 Express editions (which are much smaller and totally free), you can download them here.

  • If you want to just install the .NET Framework 3.5 runtime, you can download it here.

Quick Tour of Some of the New Features

Visual Studio 2008 and .NET 3.5 contain a ton of new functionality and improvements. Below are links to blog posts Scott gu has posted as well as links to videos you can watch to learn more about it:

VS 2008 Multi-Targeting Support

VS 2008 enables you to build applications that target multiple versions of the .NET Framework. This means you can use VS 2008 to open, edit and build existing .NET 2.0 and ASP.NET 2.0 applications (including ASP.NET 2.0 applications using ASP.NET AJAX 1.0), and continue to deploy these application on .NET 2.0 machines. You can learn more about how this works from scott gu's blog post here:

ASP.NET AJAX and JavaScript Support

.NET 3.5 has ASP.NET AJAX built-in (no separate download required). In addition to including all of the features in ASP.NET AJAX 1.0, ASP.NET 3.5 also now includes richer support for UpdatePanels integrating with WebParts, ASP.NET AJAX integration with controls like <asp:menu> and <asp:treeview>, WCF support for JSON, and many other AJAX improvements.

VS 2008 and Visual Web Developer 2008 also now have great support for integrating JavaScript and AJAX into your applications. You can learn more about this from scott gu's blog posts here:

You can watch some videos that discuss ASP.NET AJAX and Visual Studio 2008 support for it here.

I also highly recommend the excellent ASP.NET AJAX in Action book to learn more about ASP.NET AJAX (both client-side and server-side).

VS 2008 Web Designer and CSS Support

VS 2008 and Visual Web Developer 2008 Express includes a significantly improved HTML web designer (the same one that ships with Expression Web). This delivers support for split-view editing, nested master pages, and great CSS integration. Below are some articles I've written that discuss this more:

ASP.NET 3.5 also has a new <asp:ListView> control that provides the ability to perform rich data scenarios with total control over the markup. It works nicely with the new CSS support in VS 2008. You can learn more about it from the article here:

You can watch some videos that discuss the new Visual Studio 2008 web designer features and the new ListView/DataPager controls here.

Language Improvements and LINQ

The new VB and C# compilers in VS 2008 deliver significant improvements to the languages. Both add functional programming concepts that enable you to write cleaner, terser, and more expressive code. These features also enable a new programming model we call LINQ (language integrated query) that makes querying and working with data a first-class programming concept with .NET.

Below are some of the articles I've written that explore these new language features using C#:

Here are a few additional blog posts I've written that show off some of the new VS 2008 code editing support and some cool ways to use these new language features:

The Visual Basic team has also created some great free videos that cover LINQ. You can watch them here.

Data Access Improvements with LINQ to SQL

LINQ to SQL is a built-in OR/M (object relational mapper) in .NET 3.5. It enables you to model relational databases using a .NET object model. You can then query the database using LINQ, as well as update/insert/delete data from it. LINQ to SQL fully supports transactions, views, and stored procedures. It also provides an easy way to integrate business logic and validation rules into your data model. Below are some of the articles I've written that explore how to use it:

I think you'll find that LINQ and LINQ to SQL makes it much easier to build much cleaner data models, and write much cleaner data code. I'll be adding more posts to LINQ to SQL series in the weeks and months ahead (sorry for the delay in finishing them earlier - so much to-do and so little time to-do it all!).

Scott Stanfield is also working on creating some great LINQ to SQL videos for the www.asp.net site based on scott gu's article series above (all videos are in both VB and C#). You can watch the first 4 videos in this series here.

Browsing the .NET Framework Library Source using Visual Studio

As I blogged a few weeks ago, we will be releasing a reference version of the .NET Framework library source code as part of this release. Visual Studio 2008 has built-in debugger support to automatically step-into and debug this code on demand (VS 2008 can pull down the source for the appropriate .NET Framework library file automatically for you).

We are deploying the source servers to enable this right now, and will be publishing the steps to turn this feature on in the next few weeks.

Lots of other improvements

The list above is only a small set of the improvements coming. For client development VS 2008 includes WPF designer and project support. ClickOnce and WPF XBAPs now work with FireFox. WinForms and WPF projects can also now use the ASP.NET Application Services (Membership, Roles, Profile) for roaming user data.

Office development is much richer - including support for integrating with the Office 2007 ribbon, and with Outlook. Visual Studio Tools for Office support is also now built-into Visual Studio (you no longer need to buy a separate product).

New WCF and Workflow projects and designers are now included in VS 2008. Unit testing support is now much faster and included in VS Professional (and no longer just VSTS). Continuous Integration support is now built-in with TFS. AJAX web testing (unit and load) is now supported in the VS Test SKU. And there is much, much more...

Installation Suggestions

Suggestions on how best to upgrade from previous betas of Visual Studio 2008. In general uninstalling the Beta2 bits explicitly. As part of this you should uninstall Visual Studio 2008 Beta2, .NET Framework Beta2, as well as the Visual Studio Web Authoring Component (these are all separate installs and need to be uninstalled separately). Recommend rebooting the machine after uninstalling just to make sure everything is clean before you kick off the new install is recommended. You can then install the final release of VS 2008 and .NET 3.5 on the machine.

Once installed, explicitly running the Tools->Import and Export Settings menu option, choosing the "Reset Settings" option, and then re-pick your preferred profile is recommended. This helps ensure that older settings from the Beta2 release are no longer around (and sometimes seems to help with performance).

Note that VS 2008 runs side-by-side with VS 2005 - so it is totally fine to have both on the same machine (you will not have any problems with them on the same box).

Silverlight Tools and VS Web Deployment Project Add-Ins

Two popular add-ins to Visual Studio are not yet available to download for the final VS 2008 release. These are the Silverlight 1.1 Tools Alpha for Visual Studio and the Web Deployment Project add-in for Visual Studio. Our hope is to post updates to both of them to work with the final VS 2008 release in the next two weeks. If you are doing Silverlight 1.1 development using VS 2008 Beta2 you'll want to stick with with VS 2008 Beta2 until this updated Silverlight Tools Add-In is available.


Labels: , , ,

Monday, October 16, 2006

Hide Text in Pictures

Hide Text in Pictures, Executables or any Other Files

This is reallr an awesome technique for hiding text and safely exchanging data online.. All you gotta do is Open a Image file or Executable File in a Binary Editor(Warning:Dont Edit in Notepad or other text editor would render the file useless).

If you dont have any just open DOS Prompt and type Edit.
You will get a blue screen program. Click File -> Open.

Here choose the file and select the Option "Open Binary" . Then open the file.. You will see crappy text ignore it.. Scroll to the end ... Here just type the text.. If you want you can encrypt the text also or you can paste the binary content of yet another file... and then save it.. And just see.. The picture or App opens as usual except that when Opened in Binary format it has secretinformation Embedded in it...


(After this you can open in notepad to view the data inside it.. But dont edit/save in notepad.)

Warning:Dont edit the contents of the file, it may render the file un openable, always append only to the file end..

Some useful info

Free e-books site :

http://www.itebookhome.com
http://www.blueportal.org
http://www.ebooksportal.org
http://www.free-itebooks.com/free_ebook_hacker_hacking/the_hacker_crackdown.php


Windows Hacks :

http://ahmadifx.spaces.live.com/

Some Unix sites for reference :
http://www.biu.ac.il/LS/bio/unixintro/commands.html
http://www.stanford.edu/services/unix/unixcomm.html
http://freeengineer.org/learnUNIXin10minutes.html
http://www.itd.umich.edu/itcsdocs/r1159/
http://athena.vvsu.ru/docs/unix/unix_adm/toc.htm

Some good .net projects :

1. Sending msg to cell phone :
http://www.vbdotnetheaven.com/UploadFile/scottlysle/TextMsgToCellPhone08212006231642PM/TextMsgToCellPhone.aspx

2. Zip project :

http://www.nsoftware.com/ipworks/zip/technologies.aspx?sku=IZN7-W

3. Adding Functionality to Word Document Solutions in Visual Studio .NET 2003 :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_tr/html/odc_VSTMGBLab2.asp

Also One more free learning stuff from Microsoft :

Do you want to get yourself familiar and up to date with .NET 3.0 Framework? Then this is your best chance to do so for FREE. Go to this site and register and you can choose to conduct 3 x 2 Hours premium clinics about the new capabilities provided by .NET 3.0. The 3 trainings include Windows Presentation Foundation, Windows Workflow and Windows Communication Foundation. The best thing is that once you've registered, you don't have to do them immediately, you can do them at your own pace within the next 12 months. But remember this is FREE for a very limited time, so register today.


https://www.microsoftelearning.com/eLearning/offerDetail.aspx?offerPriceId=109340

Friday, August 25, 2006

"Server Error in '/application name' Application

You may receive the following error message while browsing an asp.net application


"Server Error in '/application name' Application
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". "


This error might occur due to two scenarios.

1. There is an error in the application's logic with the inputformat, Type etc., and you have set the Custom Error Mode in the web.config to "On" and not specified a default redirect error page.

2. The web.config file is not well formed or having invalid characters and the application is not able to pick up the settings from the same.

3. There is a settings problem in your site’s control panel

Solution

1. Set the custom error mode to "Off" to view the error. After rectifying it and before deployment, change it to "On" and specify a default error page, as follows:-





such that your users will not be able to see the actual error and get your friendly error page where you can politely say "An error has occured! Sorry for the inconvenience ..." .

2. If the above solution is not working (i.e. even after setting the custom error mode to On, the same "Server Error" occurs, then the likely chance is that your web.config file is not well formed and has invalid characters etc.,

To resolve, it copy paste the contents of the file to a notepad, save it as an xml file and try to browse the xml file in the browser. If the xml file is unable to be rendered by the browser and throws error, then you can find the place where the tags are not well formed or invalid character(s) exist and rectify them.

Things worth noting is Web.config is case sensitive and even trailing / leading spaces can cause the above error.

3. If both of the above solutions doesnt work it is definitely a settings problem in your site’s control panel.

You have to go to your web site’s control panel and Select the ASP.NET option and then check the debug option in your control panel and then save your settings. Then it will definitely work.

This article applies to .NET - ASP.NET 1.0 , 1.1 , 2.0 Versions.

Thursday, August 24, 2006

Sathya's ASP.NET Techy Blogs


This is my first blog page..

Here I will post the information about some technical stuff like

VB,C#,ASP,ASP.NET,SQL Server etc..

Blogs will be posted soon.



---------------------------
Sathya Narayanan