Answered by:
server side support ?

Question
-
hi
could anyone refer some material on server side tool/machanism? what will be render on server side whether we are dependent on asp.net and silverlight or have an independent machanism?According to my understanding, javascript will be render on client side? Isn't ? will javascript works similar to NodeJS too in vs2012 ? i mean ,'ll support both client side and server side?
maifs
Friday, December 28, 2012 7:15 AM
Answers
-
Hi,
Microsoft release Winjs to work with WinRT. The WinJS namespace provides special Windows Library for JavaScript functionality, including Promise and xhr.
#WinJS Namespace (Windows)
http://msdn.microsoft.com/en-us/library/windows/apps/br229773.aspx
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Mehmood Ahmed Tuesday, January 1, 2013 1:04 PM
Friday, December 28, 2012 7:38 AM -
Hi Mehmood,
For Windows Store App that will need to access internet or intranet network to retrieve some data, there is no limitation or rules on how you should build the server-side application/services. Windows Runtime library has provided rich network API support, so that you can use them to access network resources via simple HTTP requests or raw tcp socket connection. For example, suppose your windows store app will retrieve some network data via some HTTP server-side service/endpoint, then you can build the server-side service through one of the following approaches:
- You can use WCF REST service to setup an HTTP endpoint which expose the data to client
- You can use ASP.NET MVC web API to build the service endpoint
- You can also use a raw ASP.NET custom httphandler to expose the certain data
Whatever means you use, the client-side (windows store app) only need to know the endpoint address and the contract it should use to send request and parse response.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked as answer by Mehmood Ahmed Tuesday, January 1, 2013 1:04 PM
Monday, December 31, 2012 6:56 AMModerator -
Hi,
#Create your first Windows Store app using JavaScript (Windows)
http://msdn.microsoft.com/en-us/library/windows/apps/br211385.aspx
#Windows Store app samples
http://code.msdn.microsoft.com/windowsapps/
#Quickstart: Debugging apps (JavaScript)
http://msdn.microsoft.com/en-us/library/windows/apps/hh441474.aspx
#Controls list (Windows Store apps using JavaScript and HTML) (Windows)
http://msdn.microsoft.com/en-us/library/windows/apps/hh465453.aspx
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Mehmood Ahmed Saturday, January 5, 2013 10:39 AM
Wednesday, January 2, 2013 1:35 AM
All replies
-
Hi,
Microsoft release Winjs to work with WinRT. The WinJS namespace provides special Windows Library for JavaScript functionality, including Promise and xhr.
#WinJS Namespace (Windows)
http://msdn.microsoft.com/en-us/library/windows/apps/br229773.aspx
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Mehmood Ahmed Tuesday, January 1, 2013 1:04 PM
Friday, December 28, 2012 7:38 AM -
Hi Mehmood,
For Windows Store App that will need to access internet or intranet network to retrieve some data, there is no limitation or rules on how you should build the server-side application/services. Windows Runtime library has provided rich network API support, so that you can use them to access network resources via simple HTTP requests or raw tcp socket connection. For example, suppose your windows store app will retrieve some network data via some HTTP server-side service/endpoint, then you can build the server-side service through one of the following approaches:
- You can use WCF REST service to setup an HTTP endpoint which expose the data to client
- You can use ASP.NET MVC web API to build the service endpoint
- You can also use a raw ASP.NET custom httphandler to expose the certain data
Whatever means you use, the client-side (windows store app) only need to know the endpoint address and the contract it should use to send request and parse response.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked as answer by Mehmood Ahmed Tuesday, January 1, 2013 1:04 PM
Monday, December 31, 2012 6:56 AMModerator -
Thanks Song and Steven for the further clarification.
So i am a newbie to Windows Store, where should i begin with?
maifs
Tuesday, January 1, 2013 1:03 PM -
Hi,
#Create your first Windows Store app using JavaScript (Windows)
http://msdn.microsoft.com/en-us/library/windows/apps/br211385.aspx
#Windows Store app samples
http://code.msdn.microsoft.com/windowsapps/
#Quickstart: Debugging apps (JavaScript)
http://msdn.microsoft.com/en-us/library/windows/apps/hh441474.aspx
#Controls list (Windows Store apps using JavaScript and HTML) (Windows)
http://msdn.microsoft.com/en-us/library/windows/apps/hh465453.aspx
Roy
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- Marked as answer by Mehmood Ahmed Saturday, January 5, 2013 10:39 AM
Wednesday, January 2, 2013 1:35 AM