-
Difference between managed and unmanaged code
Managed Code Managed code is created by the .NET compiler. It does not depend on the architecture of the target machine because it is executed by the CLR (Common Language Runtime), and not by the operating system itself. CLR and managed code offer developers few benefits, like garbage collection, type checking, exceptions handling. Unmanaged Code Unmanaged…
-
এজাইল ঘোষণা -Agile Manifesto
এজাইল ঘোষণা আমরা সফটওয়্যার উন্নয়নের ভাল উপায় উন্মোচন করছি এবং অন্যদের এটা করতে সাহায্য করছি.এই কাজের মাধ্যমে আমরা একটি মান নির্ধারণ করেছি : ব্যক্তি এবং পারস্পরিক ক্রিয়া, প্রসেস এবং সরঞ্জাম এর ঊর্ধ্বে কার্যবান সফটওয়্যার, ব্যাপক ডকুমেন্টেশন এর ঊর্ধ্বে গ্রাহকের সহযোগিতা, চুক্তি আপস এর ঊর্ধ্বে পরিবর্তনে সাড়া দেওয়া, একটি পরিকল্পনা অনুসরনের ঊর্ধ্বে এটাই যে, যখন ডানের…
-
Basic Console Application Using Entity Framework 6
Entity Framework(EF) enables .NET developers to work with relational data using domain-specific objects. Prior to EF7 update, Entity Framework supports to create a model by writing code or using boxes and lines in the EF Designer. Both of these approaches can be used to target an existing database or create a new database. In this…
-
Get OS Version in C#
Currently, several versions of Windows OS are available in the market from Windows XP to latest Windows 8. For one my application, I was looking for a way to determine the OS version of the installed Windows at my workstation using C#. I have googled for the answer but no answer give me a clear…
-
Library vs Framework
It is quite a common question in all of the software developers mind, what is the difference between a Library and a Framework? The two concepts are important but sometimes confusing. Key Difference and Definition of Library and Framework The most important difference, and in fact the defining difference between a library and a framework…
-
Get property value from C# object dynamically
In Generic Class, it is quite common to get the value for a specific property dynamically. C# refection provides ways to get the Property value dynamically. If the IDynamicMetaObjectProvider can provide the dynamic member names, you can get them. See GetMemberNames implementation in the apache licensed ImpromptuInterface (which can be found in nuget), it works…
-
Compare two objects by value in C#
In C# compare method is not straight forward. To compare two objects by value we can use the following code snippet. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more…
-
Generic Type Conversion Mechanism in C#
Microsoft .Net already has a bunch of great string conversion routines you can use! A TypeConverter can do most of the heavy lifting for you. Then you don’t have to worry providing your own parsing implementations for built-in types. Note that there are locale-aware versions of the APIs on TypeConverter that could be used if…
-
How to add custom nuget package repository in Visual Studio
Introduction Most of the .NET developers used NuGet packages from Microsoft’s NuGet package repository which is set as default for the Visual Studios. But sometimes we need to create our own custom NuGet packages when we need to manage large applications. Again many .NET developers used NuGet packages from third-party package repository like MyGet package…
-
Whats New in ASP.NET and Web Tools for Visual Studio 2013
Microsoft recently released the new version of Visual Studio 2013 and web tools. Here are the summary of the new features for the web developers in Visual Studio 2013. New release focuses on One ASP.NET, which steps toward to unifying the ASP.NET technologies so core features can and web tools work the same across the…
-
Resolve the Visual Studio 2012 issue after updating or installing Visual Studio 2013
If you have already installed VS2012 and at a later Update to new a Service Pack or Installing VS2013, when you load any project, you may get the following error: ————————— Microsoft Visual Studio ————————— The ‘ProviderPackage’ package did not load correctly. The problem may have been caused by a configuration change or by the…