google search
Friday, July 10, 2009
New Code Editor and MEF
Visual Studio (VS) 2010 introduces a new Editor composed of extensible objects using the Microsoft Extensibility Framework (MEF). It is built on WPF to provide a 1st-class graphics engine with APIs written & designed for the latest version of .NET. This time around we are documenting APIs as part of our development process to improve documentation and help. We are also focused on delivering improved data structures and algorithms. Immutable Text Snapshots allow access to stable version of text buffer from any thread.
The new editor represents one of the first Visual Studio components to move to a managed code, MEF architecture. Other components moving to this architecture in VS2010 include the Visual Studio Languages, Web Tools, the Debugger, the new C++ project system, DSL Tools, and SharePoint Designer. Each of these components are using or offering MEF extension points. The editor represents Visual Studio’s largest investment in a MEF architecture. These moves to managed code and MEF will be followed by others as much of Visual Studio moves to this new architectural foundation in following versions.
Shims will provide 80+ percent compatibility to minimize the work for partners migrating code to the new editor. However where possible partners should update their code to use the new managed editor interfaces for the VS2010 editor. This will result in better performance and simpler code that is easier to understand and maintain. It will also migrate to the follow-on version of Visual Studio with less problems because we will be deprecating the shims in the next version after VS2010.
Partners should also consider using MEF for their own extensibility requirements in their own .NET based applications, that is, other applications have nothing to do with Visual Studio.
Thursday, July 9, 2009
Visual Studio 2010 New Features
following updates has been placed in that(i am going to explain the updates indetail in next few days).
New Code Editor and MEF
WPF and the New Visual Studio UI
VS2010 Shell
Visual Studio Help
VS2010 Extension Manager
Web Tools
Web Deployment and Web Packaging
Silverlight and WPF Tools
SharePoint Integration
Visual Studio Multi Targeting
Visual C++ Project/Build Extensibility
Visual C++ Platform Extensibility
Visual C++ Native Multi-targeting
Native Code tools
Parallel Computing Platform (PCP)
Deployment and Installation
Cloud Tools
Enhanced version of Dotfuscator Community Edition™
Thursday, July 2, 2009
Can I use typedefs in C#?
Can I use typedefs in C#?
C# doesn't have typedef but It does have it in the form of using. But this is limited in terms of usage and functionality
Ex.
using EmpList = System.Collections.Generic.List<MyNameSpace.Employee>;
using NUMBER = System.Int32;
namespace MyNameSpace
{
public class Employee
{
}
public class Class1
{
public Class1()
{
EmpList empList = new EmpList();
NUMBER num = 8;
}
}
}
Tuesday, June 30, 2009
Thursday, June 25, 2009
What standard types does C# use?
What standard types does C# use?
C# supports a very similar range of basic types to C++, including int, long, float, double, char, string, arrays, structs and classes. However, don’t assume too much. The names may be familiar, but many of the details are different. For example, a long is 64 bits in C#, whereas in C++ the size of a long depends on the platform (typically 32 bits on a 32-bit platform, 64 bits on a 64-bit platform). Also classes and structs are almost the same in C++ - this is not true for C#. Finally, chars and strings in .NET are 16-bit (Unicode/UTF-16), not 8-bit like C++.
Are C# references the same as C++ references?
There is one significant difference between C++ and C# references, C# references can be null. Therefore, a C# reference may not point to a valid object. A C# reference is a bit like a C++ pointer in this regard.
Wednesday, June 24, 2009
Does C# replace C++?
Does C# replace C++?
C# never replaces C++
C# is not understood by the machine (C# is compiled by .NET CLR and translated into Executable code by the machine).
C++ has the advantages of being fast and small in memory in Games Development.
Cross platform and speed restraints(Linux and MAC)
Monday, June 22, 2009
What are the fundamental differences between value types and reference types
The value of value types are stored on the managed stack, and can be used directly. This means that the value is stored, and not a reference to the value. This also means that each value type has its own copy of the data. Reference Types on the other hand has a reference to the data, and several variables can reference the same data.

In contrast to value types, the value of a reference types is allocated on the heap. Another name for a reference type, that you might be more familiar with, is an object. Reference types stores the reference to the data, unlike value types, that stores the value
Thursday, June 11, 2009
How do I develop C# apps?
C# is Object-Oriented and Component oriented programming language, it is developed by Microsoft.
We can develop C# application using the Visual Studio 2003 or latter version.
We can download latest Visual studio version as a free at following location.
http://www.microsoft.com/express/download/
Microsoft provides the .NET SDK also it is complete free.
Wednesday, June 10, 2009
What is C#?
What is C#?
Have you heard of C# (pronounced See-Sharp)? It would not be unusual if you didn't know a lot about the language. Released to the public in June 2000, C# has not been around for very long.
C# is a new language created by Microsoft and submitted to the ECMA for standardization. This new language was created by a team of people at Microsoft led by Anders Hejlsberg . Interestingly, Hejlsberg is a Microsoft Distinguished Engineer who has created other products and languages, including Borland Turbo C++ and Borland Delphi. With C#, they focused on taking what was right about existing languages and adding improvements to make something better.
C# is a powerful and flexible programming language. Like all programming languages, it can be used to create a variety of applications. Your potential with C# is limited only by your imagination. The language does not place constraints on what you can do. C# has already been used for projects as diverse as dynamic Web sites, development tools, and even compilers.
C# was created as an object-oriented programming (OOP) language. Other programming languages include object-oriented features, but very few are fully object-oriented. In my book you can learn how C# compares to some of these other programming languages. My book also covers what it means to use an object-oriented language as well as the details of doing object-oriented programming with C#.
C# FAQ
How do I develop C# apps?
Does C# replace C++?
Does C# have its own class library?
What standard types does C# use?
Is it true that all C# types derive from a common base class?
So I can pass an instance of a value type to a method that takes an object as a parameter?
What are the fundamental differences between value types and reference types?
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
Are C# references the same as C++ references?
Can I use typedefs in C#?
Structs are largely redundant in C++. Why does C# have them?
Does C# support multiple inheritance (MI)?
Is a C# interface the same as a C++ abstract class?
Are C# constructors the same as C++ constructors?
Are C# destructors the same as C++ destructors?
If C# destructors are so different to C++ destructors, why did MS use the same syntax?
Are all methods virtual in C#?
How do I declare a pure virtual function in C#?
Can I call a virtual method from a constructor/destructor?
Should I make my destructor virtual?
Can I use exceptions in C#?
What types of object can I throw as exceptions?
Can I define my own exceptions?
Does the System.Exception class have any cool features?
When should I throw an exception?
Does C# have a 'throws' clause?
How can I check the type of an object at runtime?
Can I get the name of a type at runtime?
What is the difference between typeof and GetType()?
How do I do a case-insensitive string comparison?
Does C# support a variable number of arguments?
How can I process command-line arguments?
Does C# do array bounds checking?
How can I make sure my C# classes will interoperate with other .NET languages?
How do I use the 'using' keyword with multiple objects?
What is the difference between == and object.Equals?
How do I enforce const correctness in C#?
What are the new features in C# 2.0?
Are C# generics the same as C++ templates?
Monday, June 8, 2009
FAQ's for Basic NET Framework
Basic NET Framework
What is the concept of strong names ?
How do we generate strong names ?
What is use the of SN.EXE ?
How do we apply strong names to assembly?
How do you sign an assembly?
How to add and remove an assembly from GAC?
What is Delay signing ?
What is Difference between NameSpace and Assembly?
If you want to view a Assembly how do you go about it ?
What is Manifest?
What is a IL? Or What is MSIL or CIL , What is JIT?
What is a CLR?
What is a CTS?
What is a CLS?
What is a Managed Code?
What is a Assembly?
What is NameSpace?
Where is version information stored of an assembly ?
Is versioning applicable to private assemblies?
What is GAC?
What are situations when you register NET assembly in GAC ?
What is garbage collection?
Can we force garbage collector to run ?
What is reflection?
What are different types of JIT ?
What are Value types and Reference types ?
What is concept of Boxing and Unboxing ?
What is the difference between VBNET and C# ?
What is the difference between System exceptions and Application exceptions?
What is CODE Access security?
What is a satellite assembly?
How to prevent my NET DLL to be decompiled?
What is the difference between ConverttoString and toString() method ?
What is Native Image Generator (Ngen.exe)?
If we have two version of same assembly in GAC how do we make a choice ?
What is CodeDom?
DOT NET FAQ's
All Languages have runtime and its the responsibility of the runtime to take care of the code
execution of the program. For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL,
Java has Java Virtual Machine etc. Similarly .NET has CLR. Following are the responsibilities of
CLR
memory leaks. When objects are not referred GC automatically releases those
memories thus providing efficient memory management.
configuration of the machine. Example the program has rights to edit or create
a new file but the security configuration of machine does not allow the program
to delete a file. CAS will take care that the code runs under the environment of
machines security configuration.
the code runs. It prevents the source code to perform illegal operation such as
accessing invalid memory locations etc.
JIT and compiles the IL code to machine code and then executes. CLR also
determines depending on platform what is optimized way of running the IL
code.
.NET FAQ's
(IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In- Time (JIT) compiler.
Thursday, May 7, 2009
Recommended Resources
Have you ever tried to exchange links, swap links, or trade links? Was it hard? Use link market instead; - it is easy to use, free and very smart. It will save you hours of work.
Saturday, May 2, 2009
Free Chart control for ASP.NET.
WebControl for creating charts, that render as images(png, jpg, gif, etc). Supports:
Line Charts
Smooth Line Charts
Column Charts
Area Charts
Scattered Charts
Stacked Column Charts
Pie Charts
Stacked Area Charts
Featuring VS.NET Designer support and more.
You can Download Free chart control at following location.
Click here

