Ahmed Salijee

January 2005 - Posts

Just Released: Enterprise Library

Enterprise Library is a collection of seven reusable and extensible application blocks for enterprise .NET development. The blocks in Enterprise Library assist in the following scenarios: Caching, Configuration, Cryptography, Data Access, Exception Handling, Logging and Security. Check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/entlib.asp for more info and http://www.microsoft.com/downloads/details.aspx?FamilyId=0325B97A-9534-4349-8038-D56B38EC394C&displaylang=en to download.

The workspace home is http://www.gotdotnet.com/workspaces/workspace.aspx?id=295a464a-6072-4e25-94e2-91be63527327

Microsoft Internal Coding Guides
Check out the post by Brad Abrams at http://blogs.msdn.com/brada/articles/361363.aspx
Extensibility Kit for VSTS - Dec CTP Drop

If you are interested in extending VSTS this for you - a bit raw but checkout http://download.microsoft.com/download/5/4/6/5466ad0d-dd6d-4b2e-9402-63352bda1798/VSTF 1204 CTP Extensibility Kit.msi

BizTalk Server 2004 SP1 out and Adapter Kit

BTS SP1 is out. Get it at http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=f4a5ab9e-d599-4cc8-abdf-ae6ae68bac3d

Also check http://www.microsoft.com/downloads/details.aspx?FamilyId=3383F89E-8223-4DB5-947A-1873C4C555BB&displaylang=en for the BizTalk Server 2004 Adapter Migration Toolkit. The adapter migration provides interfaces for BizTalk Server 2002 components and adapters such as AICs and Pre-processors

 

 

My first Smartphone app

I got my new phone (the imate SP3) last week Thursday and with a hectic few days I only started to play with it on Sunday. After getting the initial bits going on Sun and Mon I decided to get some other stuff working today.

First thing was to setup ActiveSync which went through with no real hiccups. I then wanted to setup Server ActiveSync so that I could sync my email/calendar via GPRS etc. I had a small hiccup here in setting up a passthrough connection (so that I could sync using my laptop connection) but with a little help from a colleague on setting up the connections and setting the proxy correctly - I was up and running

Then the developer thing - started up VS, created a new Smart Device Project and selected SmartPhone as the target device. Threw some controls onto the form and clicked start. Selected the option to go straight to the device (rather than an emulator) and the next thing some messages popped up on the smart phone telling me the app was “unsafe” (or something to that effect) and prompting me to go ahead. Selected YES a few time and VOILA -- A Compact Framework app targetting the SmartPhone was running.

EntLib out before the end of the month
According to http://weblogs.asp.net/scottdensmore Enterprise Library will be available by Jan 28 (probably 29th for us in South Africa)
MSDN Essentials Feb - Connected Systems (WSE,BTS) and Windows Server 2003

Blatant copy and paste

Building Connected Systems using WSE2 and BizTalk Server 2004 (Level 300)

The session will introduce the concept of service orientated architecture and the basic tenants behind a SOA based application. It will then delve into 2 key technologies that can be used to build connected systems, namely Web Services Enhancements Kits v2 and BizTalk Server 2004. WSE 2.0 simplifies the development and deployment of secure Web services by enabling developers using Visual Studio.NET and the .NET Framework to more easily apply security policy, establish long-running secure conversations, retrieve and validate security tokens and more. This session will walkthrough the key features supported in WSE2.0. The session will also cover the usage of BizTalk Server 2004 and walkthrough the key concepts used to build a BizTalk based application. This session also covers the basics of using the BizTalk development tools hosted inside the Visual Studio IDE for schema editing, mapping, pipelines design, and orchestration design.

 

Leveraging Windows Server 2003 in your Applications (Level 300)

Microsoft® Windows Server™ 2003 helps developers deliver new functionality that solves customers’ latest business needs, become twice as productive, and reach the broadest customer base with a single platform. This session will start with a high level overview of how developers can be successful in taking full advantage of the enhanced features of Windows including usage of SharePoint and 64 bit technologies. The focus of the remainder of the session will focus on leveraging the security and manageability aspects of Windows Server 2003. The security presentation provides guidelines for developing applications that use the active directory and security services of the Microsoft® Windows Server™ 2003. It discusses identity considerations and guidelines when developing multi-tier extranet and intranet applications. The management focus will be on building applications on Microsoft Windows Server 2003 which includes several enhanced technologies that can be used to build more manageable applications.

 

 Johannesburg: Tuesday 8th February 2005 (Microsoft, Bryanston) - (Morning and afternoon sessions)

 

               Session 1:     Leveraging Windows Server 2003 (Level 300)

               Time:           09:00 – 12:00

               To Register:            http://msevents-eu.microsoft.com/cui/eventdetail.aspx?culture=en-ZA&eventid=118755070&x=15&y=14

 

               Session 2:     Building Connected Systems using SOA, WSE and BizTalk Server (Level 300)

               Time:           14:00 – 17:00

               To Register:            http://msevents-eu.microsoft.com/cui/eventdetail.aspx?culture=en-ZA&eventid=118755091&x=15&y=8

 

 

 Durban: Thursday 10th February 2004 (Riverside Hotel) - (Morning and afternoon sessions)

 

               Session 1:     Leveraging Windows Server 2003 (Level 300)

               Time:           09:00 – 12:00

               To Register:            http://msevents-eu.microsoft.com/cui/EventDetail.aspx?culture=en-ZA&EventID=118755142&EventCategory=1

 

               Session 2:     Building Connected Systems using SOA, WSE and BizTalk Server (Level 300)

               Time:           14:00 – 17:00

               To Register:            http://msevents-eu.microsoft.com/cui/EventDetail.aspx?culture=en-ZA&EventID=118755122&EventCategory=1

 

 

              Cape Town: Tuesday 15th February 2005 (Peninsula Hotel) - (Morning and afternoon sessions)

 

               Session 1:     Leveraging Windows Server 2003 (Level 300)

               Time:           09:00 – 12:00

               To Register:            http://msevents-eu.microsoft.com/cui/EventDetail.aspx?culture=en-ZA&EventID=118755133&EventCategory=1

 

               Session 2:     Building Connected Systems using SOA, WSE and BizTalk Server (Level 300)

               Time:           14:00 – 17:00

               To Register:            http://msevents-eu.microsoft.com/cui/EventDetail.aspx?culture=en-ZA&EventID=118755142&EventCategory=1

 

Controlling access to an assembly

I got a question from a developer who wanted to ensure that his component could only be called from his code and wanted to know if there was any way of accomplishing this.

http://samples.gotdotnet.com/quickstart/howto/doc/security/CodeIdentityDemand.aspx answers this. It makes use of Code Access security and code signing. Not sure how well it works in remoting scenarios.

Data Design Time Changes in VS05 - Beta 1 to Beta 2

Check out http://blogs.msdn.com/vbteam/archive/2005/01/12/351495.aspx.

Calling stored procs via ODBC .NET Provider

I got this question yesterday. A developer was trying to call a SQL Stored proc (with input and output params) using the ODBC provider. The code looked all fine and the parameters were set up correctly yet when he tried to call ExecuteReader it came back with a message that some parameter values were not provided

The code he had was

Dim cmdLT As New Odbc.OdbcCommand("mystoredproc", cnReg)

cmdLT.CommandType = CommandType.StoredProcedure

The problem. This provider does not support calling stored procs using this “simple syntax“. You have the use the following

Dim cmdLT As New Odbc.OdbcCommand("{?=CALL mystoredproc(?,?)}", cnReg)

Note the question marks to represent the params

Whitepaper on building connected systems
If you are looking for an overview of technologies on the Microsoft platform used to build connected systems check out http://www.microsoft.com/windowsserversystem/overview/benefits/connected.mspx
Microsoft Windows AntiSpyware (Beta) available for download !

Check out http://www.microsoft.com/athome/security/spyware/software/default.mspx 

Visual Studio Team System Dec CTP

With the holidays etc some of you guys might have missed this. At the end of December we made available a build containing some updated bits of Visual Studio Team System. Check out http://lab.msdn.microsoft.com/vs2005/teamsystem/

  • Some of the things to look at in this release:
    • Shelving and branching
    • Improved Office integration
    • Data-driven testing
    • Debugger integration with testing
    • Load testing usability improvements
    • Distributed System Designer integration with Team Foundation Version Control
    • Improved Test Management UI
  • A couple things you’ll find, but aren’t quite ready for use:
    • Team Build
    • Reporting
  • And to end off -- who watched the Spurs-Man U game. I could not believe how Spurs were cheated out of that goal.

    Nice set of SmartPhone Development links

    Check out http://weblogs.asp.net/nleghari/articles/smartphone.aspx. A nice set of smartphone related articles. My cellphone contract ends soon and my service provider did not have the imate in stock. They should have it soon and I should start playing soon -- although you can play today as their is an emulator

    Note: Not many people know that with the SmartPhone SDK it gives you an extra entry in Visual Studio .NET that allows you to to build apps (for SmartPhone 2003) using the Compact Framework and VS.NET

    VS.NET Partner Resource DVD
    The VS.NET Partner Resouce CD -- mainly containing eval copies of tools that integrate with VS -- looks quite cool. Lots of tools from the likes of Borland, InstallShield etc. Check the full list and ordering details at http://msdn.microsoft.com/vstudio/extend/partnerdvd/