.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Maintain WCF Session with .NETCF 2.0 Mobile Application

Posted By:      Posted Date: October 18, 2010    Points: 0   Category :WCF

I am developing Windows Mobile Application (NETCF 2.0) which needs to make connection to WCF Service (4.0) hosted on IIS. Mobile Application establishes connection with Server (containing WCF Service) for each transaction which requires authentication from database.

How can I maintain WCF Sessions to authenticate Mobile Application for the first time (using database credentials) and store/use that Session to serve subsequent requests coming from Mobile Application?

My Mobile Application uses NETCF 2.0 and WCF uses 4.0.

View Complete Post

More Related Resource Links

how to maintain session for multi user application


I am developing a web application. This application is fully customised based on the user settings. Suppose, application hosted on www.abc.com and user can signup on the website and it will get the domain like www.user1.abc.com and for user2 will be www.user2.abc.com so and so forth. so in this case how would I maintain the session for each user?

each user will be representing a single website along with public interface and admin pages. 

what I am thinking is to store all the setting (for each user) in the database and then when ever server received request then get the user info from the URL (first time only and after get it from the session) and get user details but I am not very much satisfied with this approach. 

could anyone recommend me any better way to perform this task please? 


Creating a Smartphone Application and Using Data from SQL Mobile

In this exercise, you will use Visual Studio 2005 to create a Smartphone application. You will associate commands with a mobile device's soft keys, and you will add the ability to scroll through the list of available products (a list of images). You will create a data source for an existing SQL Mobile database, and then test the application in the Windows Mobile 5.0 emulator.

In the following procedure, you will create a new Windows Mobile 5.0 project in Visual Studio.

Session and Application Variables


I have a web application in which i need to logout the user if he clicks the logout button or even if he closes his browser window. On Logout button click, i am doing session.Abandon(), but how to go about his browser window close.

Can anybody help with a code sample.

How to upload image in Mobile Application?


I have requirement to upload the image in mobile Web application using asp.net. For this I have add mobile templates but regarding to image there is no any file upload control. Then I see one article and use the below code:

<mobile:DeviceSpecific ID="DeviceSpecific1" Runat="server">
                <input style="width: 389px; height: 22px" type="file" size="45" runat="server" id="FileUpload1">

Data Points: Accessing Data from a Mobile Application


This month John Papa takes a look at developing a mobile application that can access data on your application server.

John Papa

MSDN Magazine January 2008

Wireless Web: Microsoft Mobile Internet Toolkit Lets Your Web Application Target Any Device Anywhere


If you've built Web sites using ASP.NET, you'll welcome the Microsoft Mobile Internet Toolkit (MMIT). MMIT extends the Visual Studio .NET IDE you already know by providing new controls for handheld devices letting you easily develop applications for wireless devices. This means you can write less code while adapting it to more devices. Not only does MMIT integrate with Visual Studio .NET, it extends ASP.NET as well. This article gives you the background you need to write, test, and deploy a site with MMIT and make all your code able to target specific devices for a custom fit.

Paul Yao and David Durant

MSDN Magazine November 2002

My Messages Inbox: A Mobile DotNetNuke Application for the St. Louis DNN Hackathon

This past week was the St. Louis DotNetNuke Hackathon .  This was a competition for DNN developers to create a mobile application which interacts with DNN .  We had one week to create something worth showing off.  So, I, along with another developer at Engage , Abadi, took the challenge. Abadi has experience developing games for Android phones, so we decided to write a Java application (rather than using Appcelerator's Titanium Mobile product) which could connect with the Messaging...(read more)

mobile application

tell how fevelop mobile applicatios

Backward Compatibility of Windows Mobile 6 application

Hello, I have a app developed to run on Windows Mobile 6 (using VS 2008).  The requirement now is to get it running on Windows CE 5.0. (basically backport it to the very old version of windows mobile OS as the client is reluctant to upgrade the mobile OS) I did some research but havent found a convincing solution yet and still dont know whether this is even possible.  If it is possible, can you please let me know the detailed procedure? My environment details are: Win 7 (64 bit), running Visual Studio 2008. The application uses SQL CE 3.5. Thanks, P Joe      

Maintain users and groups list of Active Directory for an asp.net web application only

Hi, I have configured active directory in my server 2008. We have a web project using asp.net mvc named Audit planning and Execution Software(Apex2).What we want to do is to authenticate Active directory users for this project.I can get all active directory users, groups, users of a group etc.I want to add users in active directory for the Apex2 project only using asp.net.I also want to display only the users and groups of Active Directory registered with the Apex2 project only. And I also want to add active directory users from whole AD list to our project's AD list. Can you please tell me, how will I do this. Shall I create an Organizational Unit and maintain all users and groups there for our project? Or, is there any other way to do this?  please help me.Thank You

mobile application in vs 2010

Hi all,I want to create mobile application in visual studio 2010 with asp.net 4.0. Do i need to install sdk ? What are pre requisites ?  any tutorial for this ?Regards,Asif Hameed 

Mobile Application in ASP.NET 3.5

Hi, I have developed a mobile application in ASP.NET 3.5. I am facing problem with screen resolution when tested in different mobile devices. I am using following 4 mobile devices for testing my mobile application 1. BlackBerry 2. IPhone 3. IPad 4. Andriod When I am checking the mobile application in this 4 devices I am getting different screen resolution. In BlackBerry the font size is different, in IPhone the font size is different and there are some other things like in 1 device page size is showing too small. Can anyone tell me how to set screen resolution for different mobile devices so that it looks same in all the mobile devices. Thanks in Advance for any help. Thanks & Regards, Rahul Rathi

Windows mobile application using .net

Dear All, I am here asking for some help about Windows mobile application. Do you guys have any good references to learn about how to create a windows mobile application using .net?I have a big curiousity to learn about this technology since I have my new cell phone with windows mobile 6.5 OS. In this case, the application that I want to create is about controlling a device via bluetooth. Kindly need your willingness to help me!!..Best Regards, Hery He

Mobile application for payment gateway integration

hi,   i'm new to mobile application.   i integrated the "icici" and "citi" bank in my web application for product payment. Now i want to implement that two payment gateway's in mobile application. I don't know how to do that? Really needs help on this. Kindly help me on this   ---sathiya
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend