Close
Skip to content

Softwareproduction

Software Development Blog, mainly C# and .NET

  • ASP.NET Core
  • Mobile Development
  • Code Generation
  • General Programming
  • Development Tools
  • Servers
  • Miscellaneous

Listing Objects Used in Stored Procedures (MS SQL)

May 21, 2013Munir HusseiniNo Comments

Recently, I had to clean up a large data base. Some of the tables in that database were obsolete and…

Read More 2949 views

In-Memory Code Generation With .NET – Emit & Linq

February 17, 2013September 29, 2017Munir Husseini3 Comments
This entry is part 4 of 5 in the series In-Memory Code Generation With .NET

Instead of using templaing engines to create source code that need compilation, MSIL can be created using either Reflection Emit…

Read More 6752 views

In-Memory Code Generation With .NET – Compilation

February 17, 2013September 29, 2017Munir HusseiniNo Comments
This entry is part 3 of 5 in the series In-Memory Code Generation With .NET

In the previous article from this series, templating engines to generate .NET source code were presented. Once source code is…

Read More 9228 views

In-Memory Code Generation With .NET – Templating Engines

February 17, 2013September 28, 2017Munir HusseiniNo Comments
This entry is part 2 of 5 in the series In-Memory Code Generation With .NET

Templating engines allow a very flexible and quite easy, because human-readable definition of the code to be generated. Following, three…

Read More 6256 views

In-Memory Code Generation With .NET – Models

February 17, 2013September 28, 2017Munir HusseiniNo Comments
This entry is part 1 of 5 in the series In-Memory Code Generation With .NET

In this series, I will show how to generate, compile and load .NET code at runtime using different techniques.

Read More 4168 views

EF5 Migrations: Multiple Data Contexts in a Single Database

February 15, 2013September 27, 2017Munir Husseini5 Comments

Consider this: an application is built up from multiple modules, each with a different set of entities and data contexts.…

Read More 3092 views

Determine SQL Server Version and Edition

November 27, 2012Munir HusseiniNo Comments

Here you go…. SELECT SERVERPROPERTY(‘productversion’), SERVERPROPERTY (‘productlevel’), SERVERPROPERTY (‘edition’)

Read More 1142 views

Convert IVsHierarchy to ProjectItem or Project

September 28, 2012Munir Husseini3 Comments

The title says it all… here you go: Thanks to Ed Dore in the Visual Studio forums.

Read More 4036 views

Helpful JavaScript Methods for the Telerik Grid for ASP.NET MVC

June 14, 2012September 27, 2017Munir HusseiniNo Comments

The Telerik MVC Grid is quite a cool component. Nevertheless, some client-side API functions are desperately missing. For example, you cannot select or…

Read More 1454 views

Getting The Database Connection String From an ObjectContext

June 13, 2012September 27, 2017Munir Husseini1 Comment

The trick here is to cast the Connection property of the ObjectContext to the type System.Data.EntityClient.EntityConnection. Then you can access…

Read More 1460 views
Load More
(c) 2011-2020 Munir Husseini