Showing posts with label Advanced. Show all posts
Showing posts with label Advanced. Show all posts

Monday, August 17, 2015

How To improve ASP.NET MVC Application Performance


A compiled list of possible sources of improvement are below:

General
  • Make use of a profiler to discover memory leaks and performance problems in your application. personally I suggest dotTrace
  • Run your site in Release mode, not Debug mode, when in production, and also during performance profiling. Release mode is much faster. Debug mode can hide performance problems in your own code.
Caching
  • Use CompiledQuery.Compile() recursively avoiding recompilation of your query expressions
  • Cache not-prone-to-change content using OutputCacheAttribute to save unnecessary and action executions
  • Use cookies for frequently accessed non sensitive information
  • Utilize ETags and expiration - Write your custom ActionResult methods if necessary
  • Consider using the RouteName to organize your routes and then use it to generate your links, and try not to use the expression tree based ActionLink method.
  • Consider implementing a route resolution caching strategy
  • Put repetitive code inside your PartialViews, avoid render it xxxx times: if you end up calling the same partial 300 times in the same view, probably there is something wrong with that. Explanation And Benchmarks
Routing
Security
  • Use Forms Authentication, Keep your frequently accessed sensitive data in the authentication ticket
DAL
Load balancing
  • Utilize reverse proxies, to spread the client load across your app instance. (Stack Overflow uses HAProxy (MSDN).
  • Use Asynchronous Controllers to implement actions that depend on external resources processing.
Client side

  • Optimize your client side, use a tool like YSlow for suggestions to improve performance
  • Use AJAX to update components of your UI, avoid a whole page update when possible.
  • Consider implement a pub-sub architecture -i.e. Comet- for content delivery against reload based in timeouts.
  • Move charting and graph generation logic to the client side if possible. Graph generation is a expensive activity. Deferring to the client side your server from an unnecessary burden, and allows you to work with graphs locally without make a new request (i.e. Flex charting, jqbargraph, MoreJqueryCharts).
  • Use CDN's for scripts and media content to improve loading on the client side (i.e. Google CDN)
  • Minify -Compile- your JavaScript in order to improve your script size
  • Keep cookie size small, since cookies are sent to the server on every request.
  • Consider using DNS and Link Prefetching when possible.
Global configuration
  • If you use Razor, add the following code in your global.asax.cs, by default, Asp.Net MVC renders with an aspx engine and a razor engine. This only uses the RazorViewEngine.
    • ViewEngines.Engines.Clear();
    • ViewEngines.Engines.Add(new RazorViewEngine());
  • Add gzip (HTTP compression) and static cache (images, css, ...) in your web.config, like <system.webServer> <urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/> </system.webServer>
  • Remove unused HTTP Modules
  • Flush your HTML as soon as it is generated (in your web.config) and disable viewstate if you are not using it <pages buffer="true" enableViewState="false">
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

​IIS,IIS Performance,
.NET,Architect,Intermediate
​,Advanced

Friday, May 16, 2014

Using Local Database in Windows Phone Apps


In my previous posts, we looked at how to store data in Windows Phone Apps using Local Storage and Isolated Storage. In this post we will take a look at how to create a Local Database for storing data of our Windows Phone app. Database are great storage option when your app want to store some relational data. The database gets created into the local app folder and is only accessible to the same application. We will be using the LINQ to SQL assembly and mainly the classes present in the System.Data.Linq and System.Data.Linq.Mapping namespace to create our database schema and perform CRUD operations on it. In this demo, we will create a sample application that will store Students Information in the database. For each student, we will also store the courses that the student has taken. Lets get our hands dirty. Open Visual Studio –> New Project –> Windows Phone Blank App and name the application "LocalDatabaseWPApp".


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Monday, May 12, 2014

What’s new in #WindowsPhone 8.1 - First look to InPrivate browsing


After the last post on "What's new in Windows Phone 8.1 - First look to Start Screen, Theme", I wanted to share another new feature that's coming as part of Windows Phone 8.1 within few days. If you are a developer, you might have already experiences the new phone OS. Okay, let's come to the point. This time I will be talking about Internet Explorer In-Private browsing, part of IE11 in Windows Phone, which will help you to securely browse internet. You might have already...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Thursday, May 8, 2014

Using Isolated Storage in Windows Phone App


In my previous post, we looked at how to use local storage in Windows phone to save the data. In this post, we will look at another way of storing the data locally using IsolatedStorage. In most of the applications that we develop, we will need some way to save 'Settings'. IsolatedStorage is quite useful in that scenario as we can easily save/retrieve settings from that. Isolated Storage provides a way to store data locally in the file system. It is called 'isolated' as only your application has access to the data. There are two ways in which data can be stored in IsolatedStorage. We can store the data as Name/Value settings using IsolatedStorageSettings and you can also save normal files using IsolatedStorageFile. Data present in IsolatedStorage is persisted even when the application is stopped, tombstoned or closed or even if the phone is switched off. Data is going to be present unless it is removed manually or the application is uninstalled.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Friday, April 4, 2014

Getting Started With Windows Phone Development


To develop applications for Windows Phone 8, you will need to download and install the Windows Phone 8 SDK. You can get the sdk by going to http://dev.windowsphone.com and clicking on "Download Dev Tools" which will take you to the page from where you can download the Windows Phone 8 SDK. Please be aware of the minimum system requirements that is needed. You will need Windows 8 64 bit or Windows 8 pro 64 bit version or higher if you want to use the Windows Phone 8 Emulator. You will also need Visual Studio 2012/2013 installed. If you don't have VS 2012/2013 on your machine, the setup will install the Visual Studio 2012 Express for Windows Phone. For running Windows Phone Emulator, you will need Windows 8 pro or higher and a processor that supports SLAT. If your system doesn't meet the requirement for Emulator, you can still develop applications using the SDK but you will need a Windows Phone 8 device to test your app.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Friday, March 14, 2014

Applying default styles quickly to your Windows Phone 8 application in Visual Studio


Default templates for Windows Phone application comes with few basic set of resource elements that defines the controls color, size, background etc. To examine it more closely; you may noticed the MainPage.Xaml created with the default template has three page level styles defined as static resources. In a quick thoughts, you may try to explore your solution […]


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Tuesday, February 25, 2014

How to change #WindowsPhone 8 Lock Screen background?


As a WPDev, you might want to provide your users an option to change the Lock Screen of their Windows Phone 8 device. It can be from a locally stored images within the app XAP, a RSS feed, Camera Roll and/or periodically from a push notification. In this blog post, we will learn how to integrate the functionality in your app to simply load and set the lock screen background from a set of images available within the app xap. Windows Phone 8 provides the users to change the lock...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Monday, February 24, 2014

New UI and capabilities for Windows Phone App Studio Beta developers


We created Windows Phone App Studio Beta as a powerful but easy-to-use tool to help hobbyists, enthusiasts and new developers create content-based apps from end to end, all within a web UI. To date 350,000 developers of all skill levels have used Windows Phone App Studio Beta, resulting in 300,000 projects and 20,000 apps published to Windows Phone Store. We look forward to more. And we thank you for all the great suggestions you've made along the way.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Thursday, February 13, 2014

How to build a VoIP application for Windows Phone 7 that will not be blocked by the service providers


VoIP technology is one of the fastest growing technologies today. It is used for voice communication over the Internet with high quality sound and due to its wide penetration it is supported by many devices. However many mobile service providers block the usage of the port 5060, which is used for SIP protocol. (SIP protocol is used in VoIP communications). This means that many mobile service providers block the usage of VoIP on your mobile phones. I have come up with a solution for this problem. It is a WP7 client application that communicates with a server through TCP/UDP protocol and the server communicates with a PBX through SIP protocol. This way the mobile service providers will not block the VoIP communication because they will only see the TCP/UDP communication between the client and the server.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Wednesday, January 22, 2014

How to check the supported Camera Type in Windows Phone?


If you are a WPDev and building Windows Phone app and/or game that uses primary or secondary (front facing camera), you might need to check whether the device supports either or both of them. Windows Phone SDK provides APIs to check for supported camera type. In this blog post, we will discuss about this API and learn how to know whether the phone supports either or both of those camera types. The abstract class "Camera" present under the namespace "Microsoft.Devices" provides...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Friday, January 17, 2014

How to retrieve Free Space details in WP programmatically?


How many of you want to check the available free space in your Windows Phone device? It is very simple to get the details from the settings page. But think about a case where you want to check the free space from your app and want to chose some logic to notify the user. In this small but useful post, we will discuss about the API and will share a small piece of code, which will allow you to know the available free space in user's phone device. The sealed class named...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Wednesday, January 8, 2014

Clipboard API in Windows Phone


Windows Phone by default provides the inbuilt mechanism to support Clipboard Copy, Paste functionalities and shows the proper icon in any TextBox control. But in some case, you may need to handle the copy experience explicitly. This small post will discuss about the API and the code that you can use in your Windows Phone application. Continue reading. As I said above, the Clipboard functionality is already handled by the operating system in all Windows Phone devices and you...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Tuesday, January 7, 2014

Simplest way to Encrypt and Decrypt of data in Windows Phone apps


Sometime we need to provide an encryption mechanism to protect user data in phone and/or sharing the data over internet to a database. Data security should be always maintain by a developer to protect the content of the application that the user enters. If you are building an app and looking for some way to implement the mechanism, here is a wrapper class for you to do encryption and decryption of a string literal easily. Microsoft provides a static class named...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Sunday, January 5, 2014

For #WPDev, a new set of WP8 Emulators are now available


Microsoft released a new set of Windows Phone 8 emulators for the Windows Phone developers to support development environments for both WP8 Update 2 and Update 3 release. If you are targeting your apps for a large screen display, must try out them in the new emulator before submitting for certification. Let's discuss little on the new set of emulators in this post. You will also find the appropriate links towards the Microsoft Download Centre to install them in your development...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Wednesday, December 25, 2013

How to get the Geolocation in WP8?


If you are a WPDev and looking for a way to retrieve the Geo Location of the user and integrate that Geo Coordinates in your Windows Phone 8 application, this post will help you step-by-step to understand the API and the way to use it. The Geolocator class provides us details about the user's location. To use this class, you need to add proper capabilities to your application. Let's start discussing on that. Windows Phone 8 SDK provides few API classes, which you will need in order to play with the Geo Location coordinates in your WP8 application. Among them, few important classes are: Geolocator, Geoposition and Geocoordinate present under the Windows.Devices.Geolocation namespace. Setting up the Environment To begin with the integration of geolocation in your Windows Phone 8 application, the first thing that you must have to do is setting up the proper capabilities, failing which you might get ACCESS_DENIED exception in your application. To add the...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Geolocation in WP8,C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Sunday, December 22, 2013

Compass APIs for Windows Phone


Today in this blog post we will discuss about Compass APIs available in Windows Phone SDK. After reading this post, you will be able to use your Windows Phone's device sensors and build some apps and/or games for your targeted users. Before using the compass in your game, make sure to check whether the device supports it or not. The SDK provides APIs to check that too. Let's start discussing about it. The sealed class "Compass" is available in "Microsoft.Devices.Sensors"...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Monday, December 16, 2013

How to enable “Fast App Resume” in your WP8 app?


If you are part of DVLUP program of Nokia, you might have noticed that, all Windows Phone 8 challenges have the same requirement "Employ Fast App Switching". This is more likely same as "Fast App Resume". So, what is this and how can you configure your app to support fast app resume? In this small post for WPDev, we will discuss a bit about it and the simple process to configure your WP8 apps and/or games to process "Fast App Resume". What is "Fast App Switching"? In Windows Phone 8,...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Tuesday, December 10, 2013

How to check whether Location Service is Disabled in WP8?


If you are building Location Aware app for Windows Phone 8, you might want to check whether the Location Service is enabled/disabled in the system and based on that, you can take appropriate steps asking user to enable that. If you are one of such developer, this small but handy blog post will help you to figure out the status of the Location Service. Continue reading to know further about it. The "Location Service" page is available under the settings menu and provides user to...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Wednesday, November 27, 2013

#WPDev Tips: How to pass an object to WP Navigation Service?


While working on an application last weekend, I was in need to pass an object as query string parameter to the other page of my Windows Phone application. NavigationService does not allow you to pass any complex object. Then I found a cool idea by which you will be able to send the whole object to the other page. In this blog post, I am going to share you the trick. The sealed class NavigationService present under System.Windows.Navigation namespace provides methods and events to...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Invasion Game in MonoGame for Windows Phone 8


Invasion is an open-source, 2D casual shooter game that has been around for almost 12 years. In July 2011, I ported Invasion from to XNA for Windows Phone 7. The latest version targeting WP7 runs just fine on Windows Phone 8, but the WP7 code won't build with VS2012 and the WP8 SDK because Microsoft doesn't support XNA development with them. So it is time to port Invasion once again and while I considered porting it to DirectX, Unity, or Cocos2d-X, I instead chose to first give MonoGame a try, because its API is closest to XNA's. MonoGame is still in development and you have to keep that in mind when porting your game. Some XNA APIs are missing, others are quirky, and one class is rather problematic. But if you can work around those issues, MonoGame is a good option for porting your XNA WP7 games to WP8 and for building cross-platform games in general. This article explains what I did to port Invasion to MonoGame for WP8, what's changed in this version of the Invasion, and what still needs work - both in Invasion and MonoGame. I hope this article and the source code will help other developers more easily port their XNA/WP7 games to MonoGame/WP8 and get started creating new games with MonoGame for Windows Phone.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails