Browse by Tags

Tagged Content List
  • Wiki Page: .NET Development User Groups

    This page contains resources for and a listing of offline Microsoft user groups focused on .NET Development including all development disciplines (C#, VB.NET, ASP.NET, Visual Basic, Visual Studio, etc). Table of Contents .NET Development User Group Listing .NET Development Resources on the TechNet...
  • Wiki Page: Troubleshooting: The 'AllowedRowsExpression' element in the 'http://schemas.microsoft.com/analysisservices/2011/engine/300/300' namespace is unexpected.

    Table of Contents Exception/Error Message: Scenario: FIX: Applies To: Exception/Error Message: The 'AllowedRowsExpression' element in the 'http://schemas.microsoft.com/analysisservices/2011/engine/300/300' namespace is unexpected. Scenario: You may experience this...
  • Wiki Page: Bulk Insert into MySQL Database using C#

    Background In my project I have to insert 1000 rows at any instance of time, and this process is very time consuming and will take lot of time insert row one bye. Also there are chances of losing the connection. In order to insert huge number of we are using Bulk Insert of MySQL. In MySQL there...
  • Wiki Page: Metodo para crear filas dinamicamente (en tiempo de ejecucion) en un gridview (es-ES)

    private void CreateRowAt ( GridView gridView , int rowNumber , System . Drawing . Color rowColor ) { Table table = gridView . Rows [ rowNumber ]. Parent as Table ; //creamos una tabla a partir del GridView if ( table == null ) return ; GridViewRow row = new GridViewRow (- 1 , - 1 , DataControlRowType...
  • Wiki Page: Web Optimization Framework in MVC 4

    In my previous article , I described what is ASP.NET Web Optimization Framework and what all classes are provided by this framework in order to use this framework in web form, web pages and ASP.NET MVC. So here in this article, I will explain how to use this framework in ASP.NET MVC 4. Since I...
  • Wiki Page: Membuat Kontrol Dinamis di ASP. NET

    Kontrol Dinamis Kontrol dinamis dibuat saat runtime dan kemudian ditambahkan ke kontrol yang sudah ada pada halaman, kontrol yang sudah ada pada halaman bertindak sebagai kontrol parent. Dibawah ini adalah contoh membuat tombol dinamis: C# Button DinamisButton = new Button...
  • Wiki Page: Moving Memory in .NET Using VB and the CIL

    Table of Contents Introduction Background Testing with RyuJIT Working With IL OpCodes Incorporating Pure IL Into A Function IL Support with Visual Studio 2013 Summary and Conclusion Special Thanks External Links and Code Introduction My adventures in moving memory (in the modern .NET era) began...
  • Wiki Page: Forms Authentication with Multiple Login Pages

    Have you ever come across a situation where you want to have multiple login pages with Forms Authentication. Forms Authentication directly supports one login page, but there is a work around. Today we will see how to achieve this. For an example let’s say you want two login pages where one...
  • Wiki Page: WCF Data Services with Entity Framework Provider

    This Article focuses on how we can implement a WCF Data Service with Entity Framework Provider. I have created an empty ASP.NET web application. Now let’s start by adding an ADO.NET Entity Data Model to the project. ADO.NET Entity Data Model Now I am...
  • Wiki Page: Set WCF Service Authentication to Use a Custom Username & Password over HTTP

    It’s a common requirement where you want to authenticate the requests which the clients will make to your WCF services. And let's say that’s using some data which you have in your user table. In WCF, the default, when a user name and password is used for authentication, is let Windows to validate...
  • Wiki Page: Progress of a Task in C#

    By default Task doesn’t report its progress as a BackgroundWorker does. But that doesn’t mean we can’t get a progress of a Task. There is a new interface which was introduced with .NET framework 4.5 which is IProgress<T> . This interface exposes a Report(T) method, which the async task calls...
  • Wiki Page: IEnumerable<T> Vs. IQueryable<T>

    Table of Contents Introduction IEnumerable IEnumerable<T> IQueryable IQueryable<T> Case Study: IEnumerable<T> Vs. IQueryable<T> References & Resources Appendices Appendix A: Simplified the Enumerable class In Linq Appendix B: Simplified the Queryable class In Linq Introduction...
  • Wiki Page: Oracle 10g under Visual Studio 2010

    You can see the Oracle Database 10g in the server explorer view of Visual studio like Sql Server included by default in the VS2010 for example. So you need to install the ODTwithODAC112030 tools for visual studio and you can dowload it from this link: http://www.oracle.com/technetwork/database...
  • Wiki Page: Invoking UI Components from NT Service via C# PInvoke

    I've ran into this problem when there was a requirement to call a UI enabled program from a NT service. Usually the NT service runs under the Session 0 which means NO UI. So if you tried to invoke a program with a UI then it'll also start under Session 0. While to appear a program on the logged...
  • Wiki Page: Understanding NET Client Profile

    Introduction .NET Client Profile is supported by .NET Ver. 3.5, 4.0 and 4.5. It is designed for client applications like Windows Forms. Client Profile version of .NET Framework is lightweight subset of Framework. This enables quicker deployment and small installation packages. ...
  • Wiki Page: Visual C# Resources on the TechNet Wiki

    Introduction This page contains links to all the Visual C# resources that are available on the TechNet Wiki. This page focuses on Technet Wiki articles only and contains the most prominent articles per category. The articles are grouped based on the common Wiki Article tag for Visual C#. ...
  • Wiki Page: Understanding Garbage Collection from enterprise Perspective

    Advance Memory Management Caching objects Keep all the objects like view Model objects, Model objects, business objects, static objects etc.. in a centralized Cache. Disposing centralized cache can promote greater memory reductions. Microsoft provides built-in Cache in .NET runtime, but...
  • Wiki Page: Creating a Simple Plugin Mechanism

    Table of Contents Introduction Creating a simple plugin mechanism from scratch Creating the plugin interface Implementing the plugin interface Implementing the plugin framework Integrate the plugin mechanism in the main application Creating a simple plugin mechanism with MEF Implementing the plugin interface...
  • Wiki Page: Parallel / Concurrent / Async Programming in C# using Tasks

    Table of Contents Introduction Solution Conclusion See Also Introduction This one is a direct result of my work. Recently I was asked to come up with a notification / reminder service to send emails when something remains pending since a week. The initial code looked & worked great locally...
  • Wiki Page: Creating a Pluggable Application Without Any External Dependencies on 3rd-party Libraries

    A complete example of making a pluggable application without any external dependencies on 3rd-party libraries. To achieve that, we will need three different projects, I'm starting out from the engine to the application that will eventually host it. 1. PluggableApplication.Interface ...
  • Wiki Page: How to Transfer Files between a Windows Store App and any Windows Phone App

    First things first: how it works If we ever want to have our apps both on the Windows Phone and the Windows 8 stores, we might want to use some kind of syncing mechanism between the versions. Since neither one of the apps can access the other’s isolated data directly, there comes the need for some...
  • Wiki Page: Convert Datetime Received in JSON to a .Net DateTime

    Some times when you receive a date time from a JSON string it is in UNIX Epoch format. The date time will come over as a number which is the number of milliseconds since Jan 1, 1970. To convert it to a .net DateTime create a DateTime for Jan 1, 1970 and add the milliseconds to get the actual time sent...
  • Wiki Page: How to Play Flac Files in Windows Phone Using C#

    The multimedia capabilities of windows phone are nice and exciting, but not all file formats are supported, especially the open-source lossless and lossy formats, such as flac and vorbis. However, the Silverlight runtime comes with this class called a MediaStreamSource. Media stream sources provide...
  • Wiki Page: Get SharePoint User Group Names in .NET/C# using CSOM

    Table of Contents Introduction Sample Cases Scenario 1: Application is running under the credential which has access to the SharePoint site. Scenario 2: Application is running by providing connection account credential to the SharePoint site. References Introduction Here we will discuss an important...
  • Wiki Page: Binding of DataGrid Column Header

    Table of Contents Introduction Description References Introduction The columns of DataGrid.Columns do not inherit the DataContext of the DataGrid element, so you cannot easily bind DataGrid Headers of Columns with the default binding expression. This is caused by not inheriting from FrameworkElement...
Page 1 of 8 (184 items) 12345»
Can't find it? Write it!