Tuesday, August 12, 2008

HelloSecureWorld.com : A nice resource to learn Security

Microsoft has developed a new site http://www.hellosecureworld.com/ which provides a powerful experience for promoting security awareness and education in the developer community by surfacing existing content as well as new.

If you like learning while having FUN then hellosecureworld.com is the resource for you. It brings non traditional ways to provide security awareness and education among the developer community - Virtual lab environment, hands on labs, tutorials, videos, play attack defender games and much more.

Happy Learning !!
Namastee !

Monday, August 11, 2008

Visual Studio 2008 Service Pack 1 and .NET Framework 3.5 Service Pack 1

Microsoft has released the long waited Visual Studio 2008 Service Pack 1 and .NET Framework 3.5 Service Pack 1. This service pack includes lot of new features like Entity Framework,SQL Server 2008 support etc. and some major performance enhancements.

Visit the following URL to know more details and downlaod the VS.NET 2008 SP1.
http://msdn.microsoft.com/en-us/vstudio/products/cc533447.aspx

Namastee !

Thursday, August 07, 2008

StyleCop : A New Source Code Analysis Tool From Microsoft



Recently Microsoft has released a Source code analysis tool.This tool is known internally within Microsoft as StyleCop, and has been used for many years now


StyleCop 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 StyleCop analyzes the source code directly. For this reason, FxCop focuses more on the design of the code, while StyleCop focuses on layout, readability and documentation. Most of that information is stripped away during the compilation process, and thus cannot be analyzed by FxCop.The ultimate goal of StyleCop is to allow you to produce elegant, consistent code that your team members and others who view your code will find highly readable. In order to accomplish this, StyleCop does not allow its rules to be very configurable. StyleCop takes a one-size-fits-all approach to code style, layout, and readability rules. It is highly likely that you will not agree with all of the rules and may even find some of the rules annoying at first! However, the majority of teams using this tool within Microsoft have found that after a short adjustment period, they came to appreciate the rules enforced by StyleCop, and even began to find it difficult to read code not written in this style.


StyleCop 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.


Specifically, these rules cover the following, in no particular order:



  • Layout of elements, statements, expressions, and query clauses

  • Placement of curly brackets, parenthesis, square brackets, etc

  • Spacing around keywords and operator symbols Line spacing

  • Placement of method parameters within method declarations or method calls

  • Standard ordering of elements within a class

  • Formatting of documentation within element headers and file headers

  • Naming of elements, fields and variables

  • Use of the built-in types

  • Use of access modifiers

  • Allowed contents of files

  • Debugging text


After installation, StyleCop can be run from within the Visual Studio IDE, and can also be integrated into MSBuild-based command line builds.
StyleCop can be downloaded here:
https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=sourceanalysis
Namastee!

Installing shared assembly in GAC using deployment project

If You are using any shared assembly in you project and using deployment project to deploy it, by defult the assembly will be deployed in BIN folder although it is a shared assembly.To deploy it in GAC you need to follow following steps.

  • Open the Setup Project.
  • Open File System Editor From View->Editor->File System
  • File System will have various folders like Application folder, User desktop etc. Right click on the file system you will find Add Special folder context menu and different special folder will be displayed.
  • Select Global Assmbly Cache folder, which will add this folder to the File System .
  • Now add the shared assemblies to this and build it.

Namastee !

Creating a C# library and use it as custom function in Crystal Report

You can write your own functions in any .NET language like C# , vb.net and use it in crystal report as user defined fuction.
Here are the steps you need to follow:-

  1. Create a User Function Library .TheUser Function Libraries must be prefixed with CRUFL to be recognized by the embedded Crystal Reports Designer
  2. In the project property Build/Compile window select Register for COM Interop.Register for COM Interop" causes the assembly to be automatically registered by the regasm.exe utility, when the project is compiled. So, you do not need to run regasm.exe manually from the command prompt.
  3. Create an interface class with COM attributes.Above the interface declaration, create an attribute with three values: ComVisible, InterfaceType, and Guid (in C#).Create all the method signature.This method signature will become the name of the function that is exposed in the embedded Crystal Reports Designer.
  4. Create a Class and implement this interface.Above the class declaration, create an attribute with three values: ComVisible, ClassInterface and Guid (in C#).
  5. Create a strong name and attach it to the class library projcet to make this assembly as shared assembly.
  6. Install this assembly in GAC
  7. Now you can go to the Formula Workshop window and in side function -> Additional Functions ->Visual Basic UFLs (u2lcomm.dll) , you will find the functions defined in the assmbly.

Namastee !

Friday, June 27, 2008

World Wide Web got bigger

The Internet Corporation for Assigned Names and Numbers (ICANN) unanimously approved the new guidelines to permit the introduction of thousands of new Internet domain names to join ".com," ,on the final day of weeklong meetings in Paris.Presently, users have a limited range of 21 top level domains to choose from — names that we are all familiar with like .com, .org, .info.ICANN is working towards accepting the first applications in the second quarter of 2009.

For details visit ICANN site.

http://www.icann.org/en/announcements/announcement-4-26jun08-en.htm

Namaste!

Monday, March 03, 2008

Unity Dependency Injection Container in Enterprise Library 4.0

Microsoft has added the Dependency Injection Application Block as the part of Enterprise Application Block 4.0 which will be released on mid April.The CTP version will be released on March 15.The name of this application block is Unity.Unity will be released in two forms - 1) a standalone container, and 2) an application block in Enterprise Library 4.0 with the existing application blocks refactored to take advantage of Unity

A short description of Unity is a lightweight, extensible dependency injection container.

To know more about Dependency Injection please visit following URL.
http://msdn.microsoft.com/msdnmag/issues/05/09/DesignPatterns/
http://msdn2.microsoft.com/en-us/library/aa973811.aspx

Namastee

Monday, December 17, 2007

Microsoft Live Labs Volta

Microsoft Live Labs has released a CTP version of new web development tool named "Volta" which uses existing tools available in .NET framework 3.5 and Visual Studio 2008.

Volta’s declarative tier-splitting enables developers to postpone architectural decisions about distribution until the last possible responsible moment. Also, thanks to a shared programming model across multiple-tiers, Volta enables new end-to-end profiling and testing for higher levels of application performance, robustness, and reliability. Using the declarative tier-splitting, developers can refine architectural decisions based on this profiling data. This saves time and costs associated with manual refactoring. In effect, Volta extends the .NET platform to further enable the development of software+services applications, using existing and familiar tools and techniques.

To Know more about Volta please visit the following URL.

http://labs.live.com/volta/

Friday, November 23, 2007

Are you Excited ? I am . Visual Studio 2008 RTM Released !

On November 19th Microsoft has released VS 2008 RTM which is available for download by MSDN subscribers.

To know more about the release visit Soma's Blog: http://blogs.msdn.com/somasegar/archive/2007/11/19/visual-studio-2008-and-net-framework-3-5-shipped.aspx

You can download a free copy of Visual Web Developer 2008 from following site and try it out yourself.

http://www.microsoft.com/express/vwd/

To know more about what are the features VWD 2008 does not supports you can visit Mikhail's Blog.

http://blogs.msdn.com/mikhailarkhipov/archive/2006/06/26/647516.aspx

Also available is the Visual Studio 2008 and .NET Framework 3.5 Training kit. http://go.microsoft.com/?linkid=7602397 (120MB). This includes presentations, hands-on labs and demos -- and is designed to help you learn how to utilize the Visual Studio 2008 features and a variety of framework technologies including LINQ, C# 3.0, Visual Basic 9, WCF, WF, WPF, ASP.NET AJAX, VSTO, CardSpace, SilverLight, Mobile and Application Lifecycle Management.

There are lots of training materials on all the new features like Multi-targeting Support, LINQ, JavaScript Debugging and Intellisense, new CSS editor, WCF Support for RSS, JSON, POX and Partial Trust etc. are available in following path.

http://www.asp.net/downloads/vs2008/


Happy Learning.

Sunday, November 18, 2007

F# : New generation Functional Programming Language from Microsoft

Functional programming is the best approach to solving many thorny computing problems,but pure FP isn’t suitable for general-purpose programming. So, FP languages have gradually embraced aspects of the imperative and OO paradigms, remaining true to the FP paradigm but incorporating features needed to easily write any kind of program. Some of the most popular functional languages, including OCaml, Haskell, Lisp, and Scheme, have traditionally been implemented using custom runtimes, which leads to problems such as lack of interoperability.

F# is a general-purpose programming language for .NET, a general-purpose runtime. F# smoothly integrates all three major programming paradigms.With F#, you can choose which ever paradigm works best to solve problems in the most effective way. You can do pure FP, if you’re a purist, but you can easily combine functional, imperative, and object-oriented styles in the same program and exploit the strengths of each paradigm. Like other typed functional languages, F# is strongly typed but also uses inferred typing, so programmers don’t need to spend time explicitly specifying types unless an ambiguity exists. Further, F# seamlessly integrates with the .NET Framework base class library (BCL).Using the BCL in F# is as simple as using it in C# or Visual Basic (and maybe even simpler).F# was modeled on Objective Caml (OCaml), a successful object-oriented FP language, and then tweaked and extended to mesh well technically and philosophically with .NET. It fully embraces .NET and enables users to do everything that .NET allows. The F# compiler can compile for all implementations of the Common Language Infrastructure (CLI), it supports .NET generics without changing any code, and it even provides for inline Intermediate Language(IL) code. The F# compiler not only produces executables for any CLI but can also runon any environment that has a CLI, which means F# is not limited to Windows but can run on Linux, Apple Mac OS X, and OpenBSD. The F# compiler can be integrated into Visual Studio, supporting IntelliSense expression completion and automatic expression checking. It also gives tooltips to show what types have been inferred for expressions. Programmers often comment that this really helps bring the language to life.

F# was invented by Dr. Don Syme and is now the product of a small but highly dedicatedteam he heads at Microsoft Research (MSR) in Cambridge, England. However, F# is not just aresearch or academic language. It is used for a wide variety of real-world applications, whosenumber is growing rapidly.Although other FP languages run on .NET, F# has established itself as the de facto .NET functional programming language because of the quality of its implementation and its superb integration with .NET and Visual Studio.

To know more details on F# and to download visit the following site.

Sunday, October 21, 2007

Microsoft Releasing .NET as Shared Source

Microsoft has decided to open up the code for its .NET Framework, though not as an open source project. Microsoft is releasing it under a Shared Source license, specifically the Microsoft Reference License, that allows developers access to all the source code, but only to look, not to change it. Microsoft wants to be more open, but it wants control of its own specs, so this license allows it to be a little more open with the community, while retaining control.

This will definitely help developers in debugging their application.

ScotGu announced this in his blog

Read some thoughts on the change at Mary Jo Foley’s blog.

Thursday, July 12, 2007

Software As Services Vs Software Plus Services

For decades companies develop there own software or purchase form vendors and run the applications in their own infrastructure. But things are changed now. Availability of high bandwidth network, powerful processors and inexpensive storage and increase in cost of maintenance changed the complete delivery model. Software as a Service is a new delivery model where companies pay not for owning the software itself but for using it. In the SaaS scenario, a software provider is responsible for its availability (maintenance, scalability, disaster recovery, etc.). That’s what the companies pay for.

Last few months Microsoft has being talking a lot about a new buzz "Software Plus services" in all of the major conferences like Microsoft partner's conference , MIX, TechEd .Actually it is not a new methodology. It has been used by many companies like Apple and Google for years. Microsoft is going to use the same strategy for the new lines of products like Microsoft Live, Microsoft Live CRM etc.So what software plus services is the delivery model where enterprises will have choice of including on-premises solutions and hosted solutions.

Jon DeVadoss, Director of Architecture Strategy Microsoft Corporation mentioned in one of the his keynote address that the notion of Software Plus Services is a convergence of software as a service (SaaS), service-oriented architecture (SOA) and Web 2.0 technologies.

But if we change the software plus services to services plus software it changes the complete delivery model. Services plus software approach would put the software on the server, rather than the desktop, and much of the complexity with it.

Sunday, March 25, 2007

Windows Communication Foundation (WCF) Vs ASP.NET Web services

When we discuss about WCF several question always comes to our mind that what is the difference betweens WCF and web services? What is the advantage of using WCF? Should I use WCF or web services?

It is not possible to compare WCF and web services as both are different ways of communication between client and server. Here are few major features provided by WCF.

  • WCF is a new generation distributed technology which integrates all the other middle tier technologies like web services, COM +, Remoting, MSMQ and provides a unique development environment. It supports all the features supported by these technologies.
  • WCF is a services which can be hosted in IIS Servers, Windows services, as well as stand alone applications like windows form application, console application and WPF application
  • Using Datacontractserializer provided by WCF complex data types and private attributes can be serialized and pass across the boundary.
  • Using WCF messages can be transmitted using various channels like HTTP, TCP, MSMQ, Named pipe etc.
  • WCF application are easily configurable using configuration files and utilities
  • WCF can be integrated with other technologies and has great interoperability.

    Here are few links to learn WCF.

    https://www.microsoftelearning.com/eLearning/courseDetail.aspx?courseId=68396
    http://wcf.netfx3.com/content/resources.aspx

Saturday, February 17, 2007

ASP.NET Community Recognition Program

Microsoft has started ASP.NET Community Recognition Program to recognize people who are helping the asp.net community by answering questions,posting blog,writing articles etc.It is a pont based system.Each activity have a specific point.Based on point earned you will be part of Microsoft Hall of Fame.

Sunday, December 24, 2006

Visual Studio 2005 SP1 Released

Microsoft has finally released Visual Studio 2005 SP1.Microsoft has provided around 70 improvemt in this release.

You can download it from following path

http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx

Sunday, December 10, 2006

First CTP of "WPF/E" Released

WPF/E is a code name for a new Web presentation technology that is created to run on a variety of platforms. It enables the creation of rich, visually stunning and interactive experiences that can run everywhere: within browsers and on multiple devices and desktop operating systems (such as the Apple Macintosh). In consistency with WPF (Windows Presentation Foundation), the presentation technology in Microsoft .NET Framework 3.0 (the Windows programming infrastructure), XAML (eXtensible Application Markup Language) is the foundation of the "WPF/E" presentation capability.

To know more about WPF/E visit follwing site.

http://msdn2.microsoft.com/en-gb/library/bb188568.aspx

Tuesday, September 12, 2006

Microsoft AJAX Library : New Name for ASP 2.0 ATLAS

Microsoft has renamed the Asp.net 2.0 Atlas library as Microsoft AJAX Library and planning to release by end of this year. To read more about this exciting news visit the following blog by ScottGu.

http://weblogs.asp.net/scottgu/archive/2006/09/11/_2200_Atlas_2200_-1.0-Naming-and-Roadmap.aspx

Monday, August 21, 2006

Microsoft filled case in Seattle court against "TestKing"

Microsoft filled case in Seattle court against "TestKing" , the most famous vendor who provides braindumps to candidates to pass Microsoft exam's.This is really an good news. No more cheat sheet's all pure knowledge will be tested during MCP exam's. Microsoft exam's will become more hard than Cisco exam's. I am personally thankful to Microsoft for taking this action. IT certifications are in demand, and ban to such illegal vendor will eliminate fake candidates who suppose themselves as MCP's . For complete story watch out http://www.tcpmag.com/news/article.asp?editorialsid=1085

Wednesday, July 19, 2006

SQL Server 2005 Upgrade Technical Reference Guide

Are you planning to migrate your database to SQL Server 2005? This 350-page document contains guidance for SQL Server administrators, developers, and IT decision makers who would like to move their SQL Server 2000 or 7.0 databases to SQL Server 2005. Get the fabulous whitepaper from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=3d5e96d9-0074-46c4-bd4f-c3eb2abf4b66&DisplayLang=en

Learn A-Z of Microsoft Active Directory (ADSI)

Do you want to learn Active directory ? Microsoft Active Directory experts are providing an oppertunity to learn A-Z of Active directory through the webcasts.Visit the following link to learn more about this .

http://www.microsoft.com/events/series/adaug.mspx