Showing posts with label Visual Studio 2008. Show all posts
Showing posts with label Visual Studio 2008. Show all posts

Monday, September 26, 2011

How to create Silverlight applications using Expression Studio - basics and fun learning

Learn how to create Silverlight applications using Expression Studio and to apply user interface design principles with the toolbox integrated course. Learn practical techniques to master creating Silverlight applications using Expression studio.


http://www.microsoft.com/design/toolbox/


School learning and helpful for fun study projects -
http://www.microsoft.com/design/toolbox/school/


- Dipesh Joshi

Friday, September 23, 2011

Asp.net migration to Sharepoint

ASP.NET web developers who are moving to SharePoint site creation. This article will explain in detail how an ASP.NET webpage developed in Visual Studio can be converted into a SharePoint site. If there is a requirement for a website created in Visual Studio, just the old fashioned way with the code-behind logic and other layers like Data Access and Business Logic, to be converted into a SharePoint site, and still make it work the same way with the same code-behind, you are in the right place. The article here along with the code explains 3 core steps that will help you to transform your ASP.NET Web Application into a SharePoint site. Step1: Add a Web Deployment Project to your website solution that will create a single DLL for the website. This step will give us the code-behind DLL and other dependency DLLs for the website. Step2: Copy the bin folder items (DLLs) into the SharePoint site, and tweak the web configuration file of the SharePoint site to use the copied DLLs. Step3: Open your created SharePoint site in SharePoint Designer and import the web pages from our web application and link it to the appropriate DLLs. Code and detail step by step instructions on code project - http://www.codeproject.com/KB/sharepoint/ASPNET_to_Sharepoint.aspx There are more instructions @ http://aspnet2sp.codeplex.com/ http://weblogs.asp.net/bsimser/pages/spsmigration.aspx

Wednesday, September 21, 2011

Build 2011 microsoft @ Anaheim

Build day 1 Key notes and Session videos here -
http://channel9.msdn.com/events/BUILD/BUILD2011/KEY-0001

Speakers: Chris Jones , Steven Sinofsky , Antoine Leblonde , Mike Angiulo , Julie Larson-Green

Build day 2 Key notes and Session videos here -
http://channel9.msdn.com/events/BUILD/BUILD2011/KEY-0002
Speakers: Scott Guthrie , Jeff Sandquist , John Shewchuk , Steve Ballmer , Jason Zander , Bryon Surace , Satya Nadella , Dan Fernandez

Covered topics include -
o Windows Server 8, Azure,
o Virtualization & Cloud
o Identity & secure access
o VS 2011 Developer Preview, Windows Azure SDK, Windows Azure Toolkit 1.5 available
• Application lifecycle management
• Visual Studio TFS on Azure as SAAS

Device + Cloud
• Advance debugging in windows azure - (ability to do performance profiling on code deployed)
• Feature: Find Matching Clones(find copies of source code)
o Alpha blending etc

Web and Mobile Reach - ASP.Net MVC 4 Preview
• Page Inspector/DOM Explorer/Source View
• Unification/Bunding feature, folder reference
• jQuery.Mobile.MVC
• Shipping jquery as part of ASP.Net/Visual Studio 11

Windows Server 8
• High availability built into win8
• Ability to move private network to cloud along with IP infrastructure
More on Channel9 videos here - http://channel9.msdn.com/events/BUILD/BUILD2011

Tuesday, September 20, 2011

Project Management using new Visual Studio 2011 Rosyln

Project Management using new Visual Studio 2011 developer preview - raw notes from Build Session 2 - 1 Visual Team foundation server as a service instead of setting up servers 2 Sprint planning and tracking user stories, tasks 3 All productivity tools are now part of Visual studio 2011 4 jQuery bundled with Visual studio 5 Image editor - making game development interesting Also works with VS 2010 and onto the cloud. More here - http://channel9.msdn.com/Events/BUILD/BUILD2011/KEY-0002 Cheers -Dipesh

Upload/download files from secured SSH FTP server

Upload or download files from secured SSH FTP server usign SharpSSH.

SSH (Secure Shell) is a protocol to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another. It provides strong authentication and secure communications over unsecured channels. The JSch library is a pure Java implementation of the SSH2 protocol suite; It contains many features such as port forwarding, X11 forwarding, secure file transfer and supports numerous cipher and MAC algorithms. JSch is licensed under BSD style license.

SSH ensures - secure download and user authentication with supported features like -
•Host key type: ssh-rsa and partial ssh-dss.
•Userauth: password, publickey (RSA)
•Generating RSA key pairs.
•SCP and SFTP

Download the demo project here on codeproject - http://www.codeproject.com/KB/IP/sharpssh/sharpSsh_Demo.zip

More here - http://www.codeproject.com/KB/IP/sharpssh.aspx

Wednesday, September 14, 2011

How do I convert an html page to MHTML (Web Archive) format using .net code?

How do I convert an html page to MHTML (Web Archive) format using .net code?

MHTML format is the web archive option that bundles the web page and all of its references into a single compact .MHT file. It's a lot easier to distribute a single self-contained file than it is to distribute a HTML file with a subfolder full of image/CSS/Flash/XML files referenced by that HTML file.
If you are using a Document Management System to check HTML reports or something then you the system would expect only 1 file as INPUT. In that scenario, web archive options (MHTML) works well. Here is the code that can be referenced on codeplex that can help achieve this.

http://www.codeproject.com/KB/files/MhtBuilder.aspx

Friday, September 09, 2011

How to build Content management web sites quickly in days without spending much?

One of our client requested that they want to build an intranet CMS site in days without spending much? They were tighly constrained by budget and wanted someone to build them a quick CMS (Content Management Site) without spending much. The way to go was - Umbraco...we did it! :)

How? Watch a five minute introduction video -



Walkthrough detail tutorials and videos here -
http://umbraco.com/help-and-support/video-tutorials.aspx

Detailed free samples and code on codeplex -
http://umbraco.codeplex.com/

Cheers - DJ

How to generate Word/Office documents from server side in .net - Aspose?

How to generate Word or any Microsoft Office documents from server side in .net without installing Office on the server?

Aspose is definitely a choice if you want to generate word documents server side without installing Microsoft Office. Aspose.Words for .NET is a class library for generating, converting and rendering word processing documents. Aspose.Words supports DOC, OOXML, RTF, HTML, OpenDocument, PDF, XPS, EPUB and other file formats.

Codeplex project contains free sample source code that shows how to use Aspose.Words for .NET in your document processing applications.

However Aspose.Words itself for .NET is NOT free and not open source product and
need to be purchased if you intend to develop with them. You can seek evaluation/trial version from their site- http://www.aspose.com/ where they have included few demo projects as well.

Here is the free open source code on codeplex -
http://asposewords.codeplex.com/

-DJ

Monday, August 11, 2008

VS .net 3.5 and TFS SP1 shipped

Brian Harry just posted this news that - Microsoft released VS .net 3.5/TFS SP1.

At a very high level, the improvements include:

Improved WPF designers
SQLServer 2008 support
ADO.NET Entity designer
Visual Basic & Visual C++ improvements (including an MFC-based Office 2007 style 'Ribbon')
Team Foundation Server improvements - detailed here
Richer JavaScript support, enhanced AJAX and data tools and web site deployment improvements
A new .NET profile for client applications that is much smaller and installs much faster
Substantial .NET performance improvements (particularly in startup time)
And much, much more...

Here are the downloads -
Visual Studio Team System 2008 Team Foundation Server Service Pack 1 -http://go.microsoft.com/fwlink/?LinkId=124829

NET Framework 3.5 Service Pack 1 - http://go.microsoft.com/fwlink/?LinkId=124150

If you have setup issues, a great first resource is Heath's blog: http://blogs.msdn.com/heaths/archive/tags/VS+2008+SP1/default.aspx

Here's a useful entry about collecting setup log information: http://blogs.msdn.com/heaths/archive/2008/05/09/visual-studio-and-net-log-collection-utility.aspx

Wednesday, June 11, 2008

Resharper 4.0 release

This release brings you the most up-to-date support for Visual Studio 2005 and 2008, including C# 3.0 and LINQ:

http://www.jetbrains.com/resharper/features/newfeatures.html?40nl

Try ReSharper 4.0 free for a 30-day trial. Simply download ReSharper 4.0 and start running it now:

http://www.jetbrains.com/resharper/download/index.html?40nl

Tuesday, May 27, 2008

StyleCop released as Microsoft Source Analysis

Source Analysis is similar in many ways to Microsoft Code Analysis (specifically FxCop), but there are some important distinctions. FxCop performs its analysis on compiled binaries, while Source Analysis analyzes the source code directly. For this reason, Code Analysis focuses more on the design of the code, while Source Analysis focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop.

Source Analysis comes with a set of default rules analyzers covering approximately 200 best practice rules. These rules are full compatible with the default layout settings in Visual Studio 2005 and Visual Studio 2008.

Read more -
http://blogs.msdn.com/sourceanalysis/archive/2008/05/23/announcing-the-release-of-microsoft-source-analysis.aspx

Monday, March 31, 2008

Visual Studio Rosario CTP

This month can definitely be termed as "March madness"... lot of things happened to me in my personal life and career life..but you bet this was all fun! I am writing this after a long halt... sorry about that, i will try to keep it more updated on regular basis!

News here is that i was still trying to get around with VS Orcas/2008 release...and have learned that Microsoft is already preparing for the next release Visual Studio Rosario...crazy ? :) Regardless, here's the link to VPC - Aug 2007 CTP if you are interested to dive in new features of Visual Studio Rosario.

http://www.microsoft.com/downloads/details.aspx?FamilyID=8450eff5-24ad-44c3-ab91-1ed88ef2f4f0&DisplayLang=en

Cheers - Dipesh

Monday, March 10, 2008

What do i need to create my first WCF service?

What do you need to create a WCF service from scratch?
You can either create a WCF service in Visual Studio 2008 or you can also create a WCF Service with Visual Studio 2005 as well. What do you need ...
1> Visual Studio 2005 extensions.
2> .net 3.0 runtime (redistributable package, not Service pack release or 3.5)

This will get you the templates needed as well for you to quick start with you creating your WCF service. You can find the SDK for the same on msdn site too.

Happy servicing :) Thanks - Dipesh

Powercommands for Visual studio 2008

Powercommands for Visual studio 2008 released...
http://blogs.msdn.com/vsxteam/archive/2008/02/29/PowerCommands-for-Visual-Studio-2008-released.aspx

Cheers - DJ

Wednesday, February 20, 2008

how do i deploy/host a WCF service on remote machine?

With the task completion of hosting WCF service on machine that has installed VS 2008 and now when you are ready to deploy this on remote machine in IIS this is what you do...
1> Publish web site (option with VS 2008) that generates compiled code,
2> Copy the files on your remote machine where you want this WCF service installed,
3> Create a virtual directory and point to the physical folder where .svc files are found.
That's it! :) It's pretty much similar to the traditional web services deployment.
before you install WCF serive on any machine ensure that you have WCF and IIS installed. (IIS 6 and above). WCF is part of .net 3.0 framework. it comes along with .net 3.5 redistributable package as well.

However, here are solutions to few issues you might encounter whilst deploying...
1> After deployment you get error "Service Unavailable" in IE.
Solution - Ensure that you have sufficent rights on the physical folder from where you are executing your service (.svc) ... specially asp_net and IIS workgroup users.

2> sometimes you may just get web configuration error as you launch WCF service in IE .svc ...
Solution - You may want to try specifying custom errors tag in web.config to have exceptions as "remoteonly" so that you can understand the unhandled exceptions thrown by IIS. Sometimes, this just solves the problem...atleast solved for me :)

Previous posts on WCF - http://archdipesh.blogspot.com/search/label/WCF
Cheers - Dipesh

Overcome slow performance with the initial WCF service load/call

So now when you are all set with "WCF service" deployment milestone :) do you experience slow performance on the initial call/load of the WCF service?
Yes, Scott mentioned in the .net roadmap one of the points of cold warmup perfomance fix this summer....till then Joel has this post which has attached warmup script files that overcomes this problem.

Refer his post to get attachments -
http://blogs.msdn.com/joelo/archive/2006/08/13/697044.aspx

HTH- Dipesh

Thursday, January 17, 2008

Debug .net source code through Visual Studio 2008

With the news of open source code for Visual Studio 2008 now available i was wondering how do you achieve this and i ran into this quite detailed article by Shawn here - http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx

As of date .net assemblies that are currently available as open source or for symbol/source loading where developers can actually step into VS .net source code are:-
Mscorlib.DLL
System.DLL
System.Data.DLL
System.Drawing.DLL
System.Web.DLL
System.Web.Extensions.DLL
System.Windows.Forms.DLL
System.XML.DLL
WPF (UIAutomation*.dll, System.Windows.DLL, System.Printing.DLL, System.Speech.DLL, WindowsBase.DLL, WindowsFormsIntegration.DLL, Presentation*.dll, some others)
Microsoft.VisualBasic.DLL

I believe more will follow! happy debugging... Regards - Dipesh

Wednesday, January 09, 2008

Download Visual Studio 2008 (complete software or Virtual machine)

If you are a MSDN subscriber, you can download your VS 2008 copy from the MSDN subscription site - http://msdn2.microsoft.com/subscriptions

If you are a non-MSDN subscriber, you can download a 90-day free trial edition of Visual Studio 2008 Team Suite here -
90-Day Trial Downloads
Visual Studio 2008 Professional Edition (smaller in size)
Visual Studio Team System 2008 Team Suite
Visual Studio Team System 2008 Team Foundation Server
Visual Studio Team System 2008 Test Load Agent

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.

If you are looking for Virtual Machine (VPC) with Visual Studio 2008 Installed for You then check here -

Visual Studio Team System 2008 Team Suite with Visual Studio Team System 2008 Team Foundation Server
Visual Studio Team System 2008 Team Foundation Server with Team Explorer
To use these virtual machines, you must have either Virtual PC 2007 or Virtual Server 2005 R2 SP1.

If you want free MSDN library it is avaialble for download here - http://go.microsoft.com/?linkid=7947400

To help you jump start with new features with VS 2008 you can download free Visual Studio ebook here - http://go.microsoft.com/?linkid=8010142

Keep watching this blog if you are interested in exploring new features on VS 2008 apart from this ebook. Happy exploring! Cheers - Dipesh

Friday, June 08, 2007

Georgian to Julian date - C#

How do i convert from Georgian date to Julian Date in .net 2.0 - C#?
Very simple..... but thought of sharing this because i got confused myself for a second.

btw, quick intro Georgian dates are the one's that we normally use in our day to day life - mm/dd/yyyy format or similar. Julian dates are more like numbers that we find in Excel kind of tools. I came across this when i had a requirement where one of the web service was expecting Julian kind of format. So to cut the crap... this one line of code helps you to convert from Georgian date format to Julian in .net -
private static string GetJDate(DateTime gdate)
{
// Georgian date - "06/07/2007" Julian date - "39240";
return gDate.ToOADate().ToString();
}

Cheerio - Dipesh Joshi
Coming soon - Please spare some time to check my videos soon on YouTube and Google videos :) (I will update this post)