Windows Phone 7 Development

Today I started researching and making some Windows Phone 7 apps. The development tools are all free. You just need to download the free tools from here and everything will install automatically.

The Tools

The Windows Phone tools are added to the Visual Studio 2010 IDE so you won’t find any problems starting using it. WP7 apps are developed using Silverlight for Windows Phone or XNA 4.0. Continue reading

No Internet | Network Card not working fine

During these last few days, my network on the computer started giving me problems and sometimes the internet will stop working for no reason.

I found this supposed solution… will test it out and see how it goes. If anyone has a better solution, please let me know.

From a command prompt run the following code:

netsh winsock reset

That will reload the tcp/ip suite for windows and can supposedly correct some issues.

If you are using a USB adapter, be it wireless or wired, go into device manager and turn off the ability for windows to shut down the device to save power. You may have to do this on the root hub and controller that match your device.

Will tell you how it goes later on. Goodluck for me 🙂

ASP.Net | Read Values from Javascript

Today I started checking out some videos about Windows CardSpace and ASP.Net for logging in and I saw how he used javascript to get client side input and use it in ASP.Net in the C# code.

First you need to create a HiddenField on your webForm and name it TokenField (any name would actually do)

<asp:HiddenField ID=”TokenField” runat=”server” />

To set the Hidden Field value in JavaScript use the following code: Continue reading