Tag Archives: Sample

SignalR 2.0 PersistentConnection Example

SignalR 2.0 includes some changes that we need to be aware of before trying to run a SignalR 1.x sample. This example will focus on the Persistent Connection, it’s a classic chat application. First create a new project ASP.NET Web Application … Continue reading

Posted in SignalR | Tagged , , , , , , | 9 Comments

Office Integration Pack Sample.

Office Integration Pack is a popular and free LightSwitch extension created by Steve Hansen from Grid Logic. Now in Version 1.1. It’s very useful to Import and Export data with Microsoft Office. It can be used as a reporting tool … Continue reading

Posted in LightSwitch | Tagged , , , | Leave a comment

LightSwitch Upper Case in TextBoxes.

How to uppercase text entered into a textbox by a user? Answer: Handle the KeyUp event. Example: Imagine you have a NewClient screen and want to upper the text entered in a property called “Name”. In NewClient.cs Source: Pro Visual … Continue reading

Posted in LightSwitch | Tagged , , , , , , , , , , , | Leave a comment

Dependency Injection in MVC 4 using Ninject, Unity and StructureMap (IoCs)

Dependency injection is a software design pattern that allows removing hard-coded dependencies and making it possible to change them. This software design pattern injects the depended-on element (object or value etc) to the destination automatically by knowing the requirement of … Continue reading

Posted in CSharp, MVC, Visual Studio 2012 | Tagged , , , , , , , , , , | 3 Comments

Entity Framework Code First Example in MVC 4.

This example will show you how to create a MVC 4 application using Entity Framework Code First in Visual Studio 2012. 1. Create a new Project MVC 4 Internet template. Name: MVCMovieTraining. 2. In the Models folder add new class. Name: … Continue reading

Posted in CSharp, Entity Framework, MVC, Visual Studio 2012 | Tagged , , , , , , , , | 1 Comment

Simple Mail Merge in PowerPoint using VBA

Let’s create a simple mail merge in PowerPoint using Visual Basic for Applications (VBA). Things you will need: 1. A table called “Employee” in a SQL Server Express 2012 database called “DB”. For Excel instead use this link: https://pepitosolis.wordpress.com/2013/05/10/mail-merge-in-powerpoint-using-vba-excel-version/ The … Continue reading

Posted in PowerPoint | Tagged , , , , , , , , , , , , | Leave a comment