Mark's Stuff

My Foray Into Weblogging. Using this to store interesting items for later review.

Thursday, December 03, 2009

"Three screens and the cloud"

Interesting blog article from Keith Elder about information from PDC 2009:

.Net 4.0 - Start Reading Between the Lines ? Learn Silverlight and Entity Framework



Here's a quote: "Three screens and the cloud"

We heard this over and over at PDC. Let's read between the lines a bit shall we?

I have three screens: Windows Desktop, Web, Mobile. Ok, if I want to write an app that will run on all three what do I as a developer have to do today? Let?s see, well, we could write a ClickOnce deployed Smart Client for the Desktop that uses WPF. For the web, well, we would have to switch gears completely and rewrite our app in Asp.Net or Asp.Net MVC to get that screen. For mobile, even tougher, we have to rewrite the app again to get the mobile version. Let?s think about this differently again. Think about it, how many technologies would a developer have to know in order to an application for these three different screens; WPF, JavaScript, HTML, and CSS will be used just to name a few.

Now, let's switch gears. What if I used Silverlight 4 to write my app? Well, it could work in the browser no doubt. Hmmm, it could also work on the Desktop using the out of browser experience with elevated permissions. What about mobile?

"Wait, didn?t you just say Keith that at Mix we?ll get to see Windows Mobile 7?"

Yes!

"And hasn't there already been talk of using Silverlight for mobile?"

Yes!

"Aha! Three screens with Silverlight, I get it!"

That's right my friendly .Net developers the writing is on the wall. The vision of WPF/e (WPF Everywhere) is about to come true. We've waited for years but it is just around the corner as I predicted would happen years ago.

Labels: , , , ,

Monday, July 06, 2009

I'm A VB!

 

I'm A VB: Mark Harr

My profile was just accepted on the Microsoft Visual Basic Team's "I'm a VB" campaign. 

Labels: , ,

Wednesday, June 24, 2009

Tip: Get the name of the calling method

Very handy for using common logging or exception handling routines.

This code is corrected from original article, and added to also get the calling function.

using System.Diagnostics;

void Log(string eventMessage)
{

   Console.WriteLine("Event logged by " + (new StackTrace().GetFrame(1).GetMethod().Name);
Console.WriteLine("Module: " + (new StackTrace().GetFrame(1).GetMethod().Module.Name)



   Console.WriteLine("Event: " + eventMessage);

}



Tips & Tricks for ASP.NET, IIS, and Visual Web Developer : Tip #83: Did you know... You can get the name of the calling method from the stack using reflection?

Labels: ,

Wednesday, June 17, 2009

ADO.NET team: System.Data.OracleClient Deprecated

Microsoft ADO.Net team (Himanshu Vasishth, Program Manager) announces that the ADO.Net Oracle provider will no longer be supplied by Microsoft.  Recommended to use 3rd party provider.

ADO.NET team blog : System.Data.OracleClient Update

Possible alternatives are:

Labels:

Monday, June 15, 2009

Interesting problem: IIS file download = 0 bytes

I ran into an interesting problem at a client site the other day.  Another developer group had written and installed a ASP.Net application (Visual Studio 2008, .Net Framework 3.5 SP1, Windows Server 2003 R2, SQL Server 2005).  Without divulging too many details, let's just say the application had a public site where users could upload a file, and an internal admin site where the internal user could download the file.  The file is being stored in the database in a varbinary(max) column.

After the sites were installed, the internal user had a problem downloading the file; it always came back as 0 bytes.  It did not matter the file type (pdfs and word docs were used), browser type (same for IE6 (standard for company), IE7, IE8, Firefox 3.x, Chrome, Opera , Safari on Windows).  The file was definitely in the database, and the original developer wrote a Windows desktop app to download the file as a temporary workaround.  The original developer swore the file download it worked just fine on their servers, and brought in a more experienced consultant to try to help diagnose the problem.  I was at this client site on another project, and was asked to take a look to see if I could spot anything.

After a few false starts doing some troubleshooting (the original developer said the VS project was a web site project, and had the code-behind files in the web directory, so we would modify the .cs file to try to track the problem, but had no results; turns out it was a web application project, and we were not recompiling the project), we did confirm the byte array from the database field was being populated.  The code was using Response.BinaryWrite, and seemed to be setting the proper headers and sending the data.  We look at the IIS web site settings over and over, trying to find some clue. 

The server the web application was installed on did have other live applications running, so our debugging the production server was limited so as to not affect the other apps. Our next attempt was to setup another Windows IIS server (virtual, on MS Virtual Server) and install the web site app on there.  The file download worked just fine there.  So it appears that the application is OK, it must be an IIS setting causing the problem.  Now that we had a server we knew it worked on, I took the metabase.xml files from both servers and worked to compare them.

That was when I saw the problem: HTTP Compression was turned on the first server.  We had missed it on the IIS Settings because that (the "Service" tab) is only on the property dialog for the Web Sites folder, not on the web sites themselves, and not on the server settings.  Here is the dialog window:

clip_image002

Turning that off did solve the download file problem, but the client was uneasy about turning it off (understandably) since it was likely turned as part of the other applications that was running on that server, and they did not want to risk that apps.

Although I knew it would not affect the other apps to turn off HTTP compression, I looked further into it and saw that HTTP compression can be turned on or off for the entire server, by web site, by directory, by file type, or by individual page, all by using adsutil commands.  I also found a .cmd file in the AdminScript directory of the server turning on HTTP compression, so I modified it to turn off compression for the web site:

CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/Filters/Compression/GZIP/HcScriptFileExtensions "asp" "dll" "exe" "pdf" "aspx" "svc"
CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/Filters/Compression/DEFLATE/HcScriptFileExtensions "asp" "dll" "exe" "pdf" "aspx" "svc"
CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/Filters/Compression/GZIP/HcDynamicCompressionLevel 9
CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/Filters/Compression/DEFLATE/HcDynamicCompressionLevel 9
CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/Filters/Compression/GZIP/HcStaticCompressionLevel 9
CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/Filters/Compression/DEFLATE/HcStaticCompressionLevel 9
CSCRIPT.EXE ADSUTIL.VBS SET w3SVC/Filters/Compression/Parameters/HcDoDynamicCompression true 
CSCRIPT.EXE ADSUTIL.VBS SET w3SVC/Filters/Compression/Parameters/HcDoStaticCompression true 
REM Added exclusion for careeradmin site; mark harr; 6/3/2009
CSCRIPT.EXE ADSUTIL.VBS SET W3SVC/2129524648/root/DoDynamicCompression false

That solved the issue.  But there were a couple other interesting things:



  • I first looked to turn off compression for just the file types (pdf, etc), but it turns out that IIS determines if compression will be done based on the requested file suffix, not the response headers. So since the file was downloaded from a postback to index.aspx, turning off compression on pdf did not have any affect.

  • Then I looked to turn off just for the page doing the download. But since the site was built with a single page (index.aspx) and loading different custom controls (ascx), I could not differentiate the page for IIS.

  • So I just turned off http compression for the admin site.  Figure that was not bad, since the site will only be accessed internally, and not likely over the internet, the lack of http compression will not be an issue.

  • After I finished this, I came up with the thought that perhaps adding a "Response-encoding: gzip" header with the file download may have also solved the problem.  IIS may have already setup that header when it determined it was doing http compression, and the code may have been clearing that header when it did the Response.Clear command before setting up its BinaryWrite.  But the code putting that header would need to ensure that compression was happening and only add the encoding header when desired.  Sometime when I have a few hours to look at that, I will see if that technique will work.

Labels: , ,

Friday, June 12, 2009

Using Windows 7 and Vista features in .Net code


Just released from Microsoft:

Windows? API Code Pack for Microsoft? .NET Framework (v0.90) - Home

Vista Bridge Sample Library 1.4

Some of the newer features in Vista and Windows 7 are not exposed in the .Net Framework (yet).  This package of source code from Microsoft shows how to access and use these features from managed code.  Some of the features here are:

Windows 7 Taskbar Jump Lists, Icon Overlay, Progress Bar, Tabbed Thumbnails, and Thumbnail Toolbars.

Known Folders, Windows 7 Libraries, non-file system containers, and a hierarchy of Shell Namespace entities.

Windows 7 Explorer Browser Control.

Shell property system.

Windows Vista and Windows 7 Common File Dialogs, including custom controls.

Windows Vista and Windows 7 Task Dialogs.

Direct3D 11.0, Direct3D 10.1/10.0, DXGI 1.0/1.1, Direct2D 1.0, DirectWrite, Windows Imaging Component (WIC) APIs. (DirectWrite and WIC have partial support)

Sensor Platform APIs

Extended Linguistic Services APIs

Power Management APIs

Application Restart and Recovery APIs

Network List Manager APIs

Command Link control and System defined Shell icons.

Labels: , , ,

Thursday, May 14, 2009

New version ASP.NET AJAX Control Toolkit

New version (3.0.30512) ASP.Net Ajax Control toolkit.  Added 3 new controls, including an HTMLEditor and ComboBox (windows-like, dropdownlist and textbox). Also 20 bugfixes to existing controls.

ASP.NET AJAX Control Toolkit

Note that these controls work only with VS 2008 and .Net Framework 3.5.

Thanks to @shanselman who twittered this announcement.

Labels: ,

Tuesday, December 02, 2008

New ASP.NET Charting Control

 

Microsoft has now released a ASP.Net Chart control.  Formerly from Dundas, this control was recently added to Reporting Services, and is now available for free for ASP.Net developers.

  • Download the free Microsoft Chart Controls
  • Download the VS 2008 Tool Support for the Chart Controls
  • Download the Microsoft Chart Controls Samples
  • Download the Microsoft Chart Controls Documentation
  • Visit the Microsoft Chart Control Forum
  • Ref from Scott Guthrie's blog: New ASP.NET Charting Control: - ScottGu's Blog

    Labels: ,

    Tuesday, November 18, 2008

    An Ajax Cross Browser GridView Fixed Header Extender

     

    DevArchive.net Blog: Cross Browser GridView Fixed Header Extender, ASP.NET AJAX

    A nice AJAX extender control for GridView to provide fixed header row for scrolling grid.

    Labels: ,

    Saturday, November 15, 2008

    jQuery Update: Intellisense

     

    Microsoft has released a patch for VS 2008 to enable better intellisense support for Javascript files, esp. jQuery.  This patch enhances VS to look for like-named javascript files for intellisense documentation.  For instance, for jQuery, you would have these lines in the head of your page:

    Downloads:

    VS 2008 SP1 Hotfix: http://code.msdn.microsoft.com/KB958502/Release/ProjectReleases.aspx?ReleaseId=1736

    jQuery:
    http://docs.jquery.com/Downloading_jQuery#Download_jQuery

    jQuery Doc:
    http://code.jquery.com/jquery-1.2.6-vsdoc.js
    (or use jQuery download above, and select the "Documentation: Visual Studio" link)

    Labels: ,

    Friday, October 17, 2008

    What is jQuery?

    I first heard of jQuery when Microsoft (actually, Scott Guthrie, the Microsoft VP for Developer Division) announced support for it (see the link below). Then, the .Net Developer User Group had a session on it last week. This is something simple, easy to implement and add to our toolkit, and can save a ton of time adding desirable features to our websites.

    If you have not heard about jQuery before:

    • JavaScript library, just link a javascript file to your web page to enable it.
      e.g. : <script type="text/javascript" src="../jquery.min.js"></script>
    • a lightweight JavaScript library, only 15kb in size.
    • Licensed under GPL or MIT (any and all use is free, commercial or otherwise permitted)
    • supported browsers: Firefox 1.5+, Internet Explorer 6+, Safari 2.0.2+, Opera 9+

    Good beginning description of it from Scott Guthrie’s blog (http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx):

    A big part of the appeal of jQuery is that it allows you to elegantly (and efficiently) find and manipulate HTML elements with minimum lines of code.  jQuery supports this via a nice "selector" API that allows developers to query for HTML elements, and then apply "commands" to them.  One of the characteristics of jQuery commands is that they can be "chained" together - so that the result of one command can feed into another.  jQuery also includes a built-in set of animation APIs that can be used as commands.  The combination allows you to do some really cool things with only a few keystrokes.

    For example, the below JavaScript uses jQuery to find all <div> elements within a page that have a CSS class of "product", and then animate them to slowly disappear:

    clip_image002

    As another example, the JavaScript below uses jQuery to find a specific <table> on the page with an id of "datagrid1", then retrieves every other <tr> row within the datagrid, and sets those <tr> elements to have a CSS class of "even" - which could be used to alternate the background color of each row:

    clip_image004

    Microsoft will be bundling and supporting jQuery from now on

    Again from Scott Guthrie’s blog:

    • “Microsoft will be shipping jQuery with Visual Studio going forward”
    • “We will distribute the jQuery JavaScript library as-is, and will not be forking or changing the source from the main jQuery branch.  The files will continue to use and ship under the existing jQuery MIT license.”
    • “will also distribute intellisense-annotated versions that provide great Visual Studio intellisense and help-integration at design-time.”
    • “add the jQuery library by default to all new projects.”
    • “We will also extend Microsoft product support to jQuery beginning later this year, which will enable developers and enterprises to call and open jQuery support cases 24x7 with Microsoft PSS.”
    • “Going forward we'll use jQuery as one of the libraries used to implement higher-level controls in the ASP.NET AJAX Control Toolkit.”

    Here are some links on jQuery:

    · http://jquery.com/

    · Download: http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.min.js&downloadBtn=%3CSPAN%3EDownload%3C%2FSPAN%3E

    · Documentation: http://docs.jquery.com/Main_Page

    · Tutorials: http://docs.jquery.com/Tutorials

    · Scott Hanselmann’s tutorial using jQuery in Visual Studio and Ajax and ADO.Net Data Services: http://www.hanselman.com/blog/jQuerytoshipwithASPNETMVCandVisualStudio.aspx

    Labels: , ,

    Thursday, July 03, 2008

    Windows Mobile: Configuration Steps to Test localhost Web-Services

    This blog entry describes how to configure VS2008, WMDC and Windows Mobile Device Emulator to call local web services running under VS debugging.

    This was also useful as it fixed my perplexing problem trying to get Device Emulator to connect to WMDC so that I can install .Net CF 3.5.  Specifically, making sure transport mode is DMA in WMDC, VS, and the device; and device emulator must be in Cradle mode.

    Public Sector Developer Weblog : Windows Mobile 6: Configuration Steps to Test localhost Web-Services

    Labels: , ,

    Wednesday, May 28, 2008

    Introducing RockScroll

     

    Very cool add-in for Visual Studio, from:

    Scott Hanselman's Computer Zen - Introducing RockScroll

    The basic (as in "only") idea is that RockScroll extends the scrollbar in Visual Studio to show a syntax highlighted thumbnail view of your source. This is really useful for those excessively long source code files...

    RockScroll

    Labels: ,

    Wednesday, April 23, 2008

    Cleveland Day of .Net 2008

    Cleveland Day of .NET

    Labels: ,

    Monday, April 21, 2008

    Regular Expression resources

    Regular Expression resources


    A nice resource of some regualar expression resources, by the author of Expresso, a very good tool for building and testing regexp, even generating VB.Net/C#.Net code. Also a link to Regular Expression Library, a repository of common tested reg exp.

    Labels: ,

    Tuesday, February 19, 2008

    Microsoft DreamSpark

     

    Microsoft DreamSpark

    Today, Microsoft announced that college students can download Visual Studio, SQL Server, Expression Blend, even Windows Server FOR FREE!

    How would you like a free copy of Microsoft Visual Studio 2008? How about the entire Microsoft Expression Studio? Not enough...... how about Microsoft Windows Server 2003 and more?
    For once, something that sounds too good to be true really is this good and really is true. Starting today (or soon in some areas), students worldwide will be able to download our professional development and design tools for free! It's called DreamSpark and it is upon us.

    Wow.  Why?  From PressPass:

    PressPass: What is the thinking behind Microsoft DreamSpark? And how did you come up with the name?

    Wilson: Microsoft DreamSpark is a community-based program to provide students with free access to Microsoft’s industry-leading software development, gaming and design tools. Working with schools, governments, partners and student organizations worldwide, we will be making this available starting today in Belgium, China, Finland, France, Germany, Spain, Sweden, Switzerland, the United Kingdom and the United States. Other countries will come online over the next year, as well as expanding the program to include high school students. The program is open to all students at education institutions worldwide, though those studying science, technology, engineering and math disciplines (STEM-D) are expected to be the first to jump on it. All eligible students need is access to a computer with an internet connection to download the products, as well as free access keys at http://channel8.msdn.com.

    We call it DreamSpark because every great technology breakthrough starts life as someone’s dream or idea. We want to make sure that students have the tools to spark their own dreams plus the power to turn them into reality.

    PressPass: Why is Microsoft doing this?

    Wilson: We believe students can do amazing things with technology if given access to the right tools. This is a way to make sure that they have what they need to test the boundaries of what today’s technology can do and also prepare for a great career at the same time. The added benefit to industry is that we’re addressing one of the toughest challenges confronting employers today: attracting and developing qualified IT professionals. We’re trying to help close this gap by giving students globally the opportunity to get the tools they’ll need after they graduate and jump-start their careers to land that first job.

    Making sure there is a strong pipeline of technically skilled students is key to the future of the global economy. The ability to create new software and services will be an essential part of the skill set of the next generation of workers. Technology is one of the chief drivers pushing worldwide economic development and job creation. As well as giving students important exposure to the tools they can expect to use in the workplace, DreamSpark is about putting professional-level tools in the hands of students to amplify the impact of their studies and fire up their imaginations about the power of technology.

    Labels: , , ,

    Tuesday, September 04, 2007

    Day of .Net in Ann Arbor

    Day of .Net October 20, 2007 - See You there!

    Day of .NET in Ann Arbor is a one-day conference on all things .NET organized by developers for developers. This event is being offered at no cost to anyone interested in .NET development, and will take place on October 20, 2007 at Washtenaw Community College in Ann Arbor, MI.

    I will probably attend this, though it is a bit out of the way. But we don't seem to get these types of events locally. Sam, Gary: want to go?

    Labels:

    Thursday, July 19, 2007

    Silverlight Applications

    Tim Sneath: From A to Z... 50 Silverlight Applications
    It's great to see so many Silverlight-based widgets, samples, demos and applications appearing out there. I spent a happy hour this morning searching around the Internet for examples and samples, and thought I'd aggregate the fruits of my research below.


    Especially check out the Airlines Demo and the Amazon Search Visualization

    Labels: ,

    Wednesday, July 11, 2007

    Doug Seven : Windows Server 2008, Visual Studio 2008 and Microsoft SQL Server 2008 Joint Launch Announced

    Wednesday, May 23, 2007

    Get Calling MethodName

    A question came up in last night VB.Net User Group about how to get the calling method when using a common exception handling method. I remembered I did it somewhere before, but could not even remember any part of it to look up at the time. So I post it here and will send it to Sam for posting to the SIG blog.


    Basically, you instantiate a System.Diagnostics.StackTrace object with the StackTrace from the Exception object, then get the MethodName from that. Here is an example using a Console app:



    Imports System.Diagnostics
    Imports system.reflection
    Module Module1
      Sub Main()
        Try
          Throw New ApplicationException("HAHA")
        Catch ex As Exception
          ProcessException(ex)
        End Try
      End Sub

      Sub ProcessException(ByVal ex As Exception)
        Dim stackTrace As StackTrace = New StackTrace(ex)
        Dim stackFrame As StackFrame = stackTrace.GetFrame(0)
        Dim methodBase As MethodBase = stackFrame.GetMethod()
        Console.WriteLine("Error in Method {0} ", methodBase.Name)
      End Sub
    End Module


    Also, you can instantiate the StackTrace object without any arguments, and it loads the current method. You can then get the calling method (or the entire CallStack of methods) at any point in your code by walking through the StackFrames.



    Imports System.Diagnostics
    Imports system.reflection
    Module Module1
      Sub Main()
        A()
      End Sub

      Sub A()
        B()
      End Sub

      Sub B()
        C()
      End Sub

      Sub C()
        Dim stackTrace As StackTrace = New StackTrace()
        Console.WriteLine("Called By Method {0} ", stackTrace.GetFrame(1).GetMethod().Name)
        Console.WriteLine("Listing the Entire Stack Trace:")
        For Each stackframe As StackFrame In stackTrace.GetFrames()
          Console.WriteLine("Method {0} ", stackframe.GetMethod().Name)
        Next
      End Sub
    End Module

    Labels: , ,

    Friday, May 04, 2007

    Coming soon: VBx!

    Several bloggers and news articles on new version of Visual Basic that was referred to (but not announced) at MIX07 conference this week.

    From Panopticon blog: What the heck is "VBx"?
    ...though, I can now take a bit of the wraps off. "VBx" is our current (subject to change) codename for the next major version of Visual Basic. (The "x" is supposed to signify the Roman numeral X, or 10, since the next major version of Visual Basic is going to be 10.0.


    From The Visual Basic Team Blog:
    What do the announcements at Mix mean for the Visual Basic developer?
    VB on Silverlight ? In short, this means that you can now use Visual Basic as the code-behind for whiz-bang rich interactive applications that run on Windows or the Mac and can run in IE, Firefox, and Safari.

    Labels:

    Tuesday, April 24, 2007

    Visual Studio "Orcas" and .NET FX 3.5 Beta1 shipped!

    Visual Studio "Orcas" and .NET FX 3.5 Beta1 shipped!


    The VS Pro and VSTS products are at Beta1. As part of this we are also putting out CTPs (Community Technology Previews) of the Express SKUs as this is the first time that we are making Express products for ?Orcas? available to our customers.

    Also see Visual Studio Futures Site

    Labels:

    Tuesday, April 10, 2007

    MS Ajax Library Cheatsheets

    Handy PDFs for MS Ajax library

    Labels: ,

    Monday, April 09, 2007

    patterns & practices Guidance Explorer

    patterns & practices Guidance Explorer

    MS developed site showing best practices and guidelines for .Net development challenges.

    patterns & practices Guidance Explorer is a tool that enables discovery, composition and consumption of high quality development guidance. Guidance Explorer installs with a connection to the patterns & practices guidance library including performance and security topics for .NET, ASP.NET, and ADO.NET applications. The guidance library contains a variety of guidance types including checklists and guidelines covering design, implementation and deployment topics


    This site is the project development site for the library. You can download a standalone, updatable version. Or, a read-only online version is also at Guidance Explorer Web Edition.

    Labels:

    Tuesday, January 23, 2007

    .Net Developer Users SIG Links

    List of talked about links from tonight's session of Cleveland .Net Developers SIG

  • MyGeneration - Code Generation, O/R Mapping, and Architectures
    http://www.mygenerationsoftware.com/portal/default.aspx

  • MindCrafted Systems, Inc.
    http://www.mindcrafted.com/
    http://www.clevelanddotnet.info/presentations/CodeGenerators.pdf

  • NHibernate for .NET
    http://www.hibernate.org/343.html

  • Microsoft patterns & practices Home
    http://msdn.microsoft.com/practices/

    Labels: ,

  • Wednesday, September 27, 2006

    Visual Studio 2005 SP1 Beta and Visual Studio support for Vista

    Somasegar's WebLog : Visual Studio 2005 SP1 Beta and Visual Studio support for Vista

    VS2005 SP1 beta is available. But of greater note is announcement here of compatibility and support on Vista.
    Development:
  • VS 2005 SP1 supported;
  • VS 2003/2002 NOT supported;
  • VB6 supported!

    Runtime: (compiled apps)
  • All versions supported.

  • Labels:

    Monday, August 07, 2006

    Debugging Services

    Been having a little conniption trying to figure out how to debug a service app I was writing. Ended up pretty simple to work for me. Put this as the first statement in the OnStart sub, or where you want to start the debugger.

    #If DEBUG Then
    System.Diagnostics.Debugger.Launch()
    System.Diagnostics.Debugger.Break()
    #End If


    Here are some links to pages that helped.

    Dave's Place
    Debugging a .Net Windows Service the "easy way"
    Pick A Bar: Three little tips for debugging .Net Windows Services

    Labels:

    Tuesday, August 01, 2006

    MSDN Library May 2006 Edition

    MSDN Librar now free download from Microsoft. You do not need MSDN subscription anymore, but I suspect this will always be a few months later than MSDN subscribers get it. (Time will tell)

    Rob Caron : Free Download: MSDN Library May 2006 Edition

    Labels:

    Wednesday, June 21, 2006

    VS 2005 Web Application Project

    Microsoft has recently released an add-on tool for Visual Studio 2005 for Web Application Projects, instead of developing Web Site projects in the original released version. This is not just a rehash of VS2003 Web Application Project, but rewritten and supported for VS 2005 VB/C#. It will be added in VS2005 SP1 later this year. This new project type supports building (faster) single assembly compilation, edit and continue in the web project, and supporting test-driven development tools.


    These are some links where to download this, descriptions and a couple interesting blogs describing pros and cons.


  • Microsoft's ASP.NET site for Web Application Project (induding download links for the setup and an update to VS2005 that must be installed first.

  • MSDN VS Developer Center's Introduction to Web Application Projects

  • Scott Guthrie's Web Application Project site, including VB and C# tutorials and known issues. (Scott is General Manager in MS Developer Division
    Scott Guthrie's blog, for updates

  • ASP.Net VS2005 WAP Forum: FAQ and Known Issues

  • Peter Johnson's interesting blog article on his Pros and Cons
  • Labels:

    Tuesday, June 13, 2006

    Know Dot Net - Migration - Creating Services in .NET

    Know Dot Net - Migration - Creating Services in .NET
    Create FileWatcher service in .Net. Uses .Net FileSystemWatcher class and using it in a service project. Will be useful @ F&S

    Labels: