admin
Online tech warehouse
RssIcon

Model First Development Using EF 5.0 – Updating the Model

by Amal Dev on Wednesday, February 26, 2014 12:32 AM
In my earlier post, Getting started with Model First development using EF, I have shown you to create a database from the model class and how to persist the data to the database. In the second part of the series, I am going to show how the changes made to the underlying database can be reflected in the model class.

 

So let’s try to add a column to our user table.

ALTER TABLE MT_USER ADD Gender Varchar(5)

 

Now right click inside the EDMX designer to bring up the pop menu and select Update Model from the database option to reflect the changes we made to the database.

 

 

 

In the Update Wizard dialog, all the newly added columns or views or stored procedures will be listed under Add tab, whereas the Refresh tab will all the modified ones. Just click on the finish button to start the update operation.

...
C#
Entity Framework
MVC
Model First

Creating apps with redesigned App Studio

by Amal Dev on Monday, February 24, 2014 11:53 PM
Recently Microsoft has updated App Studio with redesigned UI, a rebuilt emulator, image conversion and more templates. Also the site has become more touch friendly which enables you to design and create app from your touch first devices like phone, phablet, tablet etc. With this changes there are some variations made to the workflow from the earlier one and with this post I am going to help you in creating apps using the new interface.

 

When you login to the refurbished website for the first time, all your apps will be automatically regenerated so that all the apps confronts to the changes made to the website and your new dashboard will be like the image given below.

 

 

 

For creating a new project, click on the Create New Project link and you will be redirected to the template page, where you will have the option to select a pre-defined template or an empty template...
Microsoft
Windows Phone 8
App Studio
DEVCON

Getting Strated with Model First Development using Entity Framework.

by Amal Dev on Sunday, February 23, 2014 10:14 PM
What is Model First ?

 

In Model First approach you will create a model of your domain entity using the EF designer and then generate database schema based on it. It stores the meta data in a EDMX file and model classes that interact with our business objects are automatically created from this EDMX file.

Let’s create a small console application for demonstrating this approach and name the project as EFModelFirst.

 

clip_image002

 

I am using VS 2012 and with EF 5.0.0 which can be downloaded from nugget using the command in your...
C#
Entity Framework
MVC
Model First

Creating WP Apps Using App Studio

by Amal Dev on Friday, February 14, 2014 3:47 PM
App Studio is a great offering from Microsoft which let you to create a Windows Phone app in quick time and that too without writing a single line of code. It lets you to create create apps using the available templates in the site and also enables you to download the auto generated source code, if you want to take it up further.

As with any other Microsoft sites, Microsoft account is needed for logging into the site and there are no fees for creating apps using App Studio, it’s an absolute free offering. Upon signing in, you will be redirected to the Dashboard when all the pre-defined templates will be available or you can select an empty app for creating one on your own.

In this post I will guide you to create app by creating an app for the Kochi DEVCON 2014 event and I will using the second option in this post, so just click on the link titled “Create an empty app”

 



...
Microsoft
Windows Phone 8
App Studio
DEVCON

Connecting SkyDrive with your Windows Phone 8 App

by Amal Dev on Monday, July 29, 2013 12:52 AM
Continuing with my ongoing series of posts on Windows Phone app development, I will help you to integrate SkyDrive

in your app with this post.

 

I will be explaining the steps using an app of mine which I had released some time ago and now is in the process

of updating it with voice commands support and cloud storage. In my earlier two posts I had explained the

steps that are needed for implementing voice commands and speech-to-text input.

 

To start with you need to create an app with Live Connect Developer Center for connecting SkyDrive with your apps.

It acts as a one stop location forall the apps which needs to connect to SkyDrive, Outlook.com and Skype.

 

Go to My Apps section from the dashboard and click on the Create Application link and you will be presented with a

page like the one given below.

 

1...
Windows Phone 8
.NET
SkyDrive
LiveConnect
C#
XAML
Cloud

Adding Speech Input to Your Windows Phone App

by Amal Dev on Saturday, July 13, 2013 1:09 AM
In my earlier post I had guided you in implementing voice commands in your Windows Phone app and if you don’t have a clue about what I am talking,  go through my earlier post here.

For those who doesn’t have time to go through the entire post, here’s a recap.

Recap

You can implement speech support in your own app very easily by following the steps given below.

1. Create a VCD file(Voice Command Dictionary), which essentially is a XML file containing the commands your app supports

2. Load created command file at the start up.

3  Deploy the app to the inbuilt emulator or to your device, hold the windows button until Speech dialog is displayed and speak the command you specified in your VCD file and Windows Phone will open the app for you.

 

As I mentioned earlier I had deployed a simple note taking application in the marketplace and along with this series of posts I am implementing speech recognition support in it.

In the last post I had already...
Windows Phone 8
Speech Recognition
Speech API
Voice Commands
.NET

How to enable voice commands in your Windows Phone 8 App

by Amal Dev on Sunday, July 07, 2013 11:24 AM
Microsoft has enhanced the speech capabilities in Windows Phone in the Windows Phone 8 SDK and with the Bing team releasing their API for developers I decided to upgrade my first ever app developed for Windows Phone 7. Also I was getting feedback from the users to update as well as add new features in it. So to start with it I am incorporating voice commands to the app and will explain the steps needed for the same for including in your app too.

Windows phone 8 supports both speech recognition and text-to-speech functionalities for interaction with the users. With the Voice Commands feature, users will be able to instruct the phone to initiate operations that you normally do by touch.

First you need to make sure that you had added the capabilities for speech recognition and microphone in the WpAppManifest.xml either by checking the boxes in the property editor or by manually adding the following lines in the XML file

Capability Name="ID_CAP_SPEECH_RECOGNITION"/> Capability Name="ID_CAP_MICROPHONE"/>...
Windows Phone 8
Speech Recognition
Speech API
Voice Commands
.NET

Part 1 : Installing Windows 8

by Amal Dev on Tuesday, September 04, 2012 1:56 AM
Microsoft will be releasing the latest version of their operating system named Windows 8 very soon and infact it's already available for download for MSDN and Technet subscribers.

For the unlucky ones like me has the option to download a 90 day evaluation of the same from here.

Before you go for downloading, you have to take a note of couple of points

This evaluation version will expire after 90 days and wont be able to upgrade.

It's better to go for the installation in a virtual environment so that it will be easier for you to upgrade from your existing version. Otherwise you will have to uninstall the evaluation first and then do an upgrade.

Inorder to the get the link for the download, you have to should have a Microsoft Account  and should also activate the product within 10 days of installation.

You have options for 32-bit and 64-bit versions...

Tech Trivia

by Amal Dev on Tuesday, April 26, 2011 1:46 AM

I have a table with only one column which stores  date values as shown below.

 

Now I want to sort the data in the descending order of the date and needs to display it in the mm/dd/yyyy format. So,

 Select Convert(VarChar(10),FeedDate,103) FeedDate  From Test Order By FeedDate Desc 

The result I got was as follows


Windows Azure Camp at Trivandrum on 30th April

by Amal Dev on Monday, April 18, 2011 8:29 PM





Kerala Microsoft Usergroup (K-MUG) is pleased to invite you to the Windows Azure Camp – a 1- day deep dive session designed to help you speed up on developing for Windows Azure. The Windows Azure platform is a flexible cloud-computing platform that lets your customer focus on solving their business problems
 
For more details please visit Azure Camp.
Register for the event here
 
Categories
Tags
Privacy Statement | Terms Of Use | Copyright 2013 by www.techrepository.in