Others

Visual Studio 2015–Editions

April 30, 2015 .NET, .NET Framework 4.6, ASP.NET 5.0, Community, Editions, Microsoft, Microsoft SDKs, Mobile-Development, MSDN, MSDN, Visual Studio 2015, Visual Studio SDK, VisualStudio, VS2015, Web API, Web API v2.0, Windows 10, Windows Phone, Windows Phone 8.0 SDK, Windows Phone SDK No comments

With Visual Studio 2015 Microsoft has changed type of  editions available as part the Visual Studio product line up, also made some changes to MSDN Subscription levels.

Changes in Visual Studio Editions

No more Premium and Ultimate  edition of  Visual Studio. There will only be 3 editions available:

  1. Visual Studio 2015 Community Edition –  Free, full-featured and extensible tool for developers building non-enterprise applications
  2. Visual Studio 2015 Professional Edition – Professional developer tools and services for individual developers or small teams
  3. Visual Studio 2015 Enterprise Edition – Enterprise grade solution with advanced capabilities for teams working on projects of any size or complexity, including advanced testing and DevOps

Changes in MSDN Subscription Levels

MSDN Subscription Levels also has changed: there will be only two subscription levels MSDN PRO and MSDN Enterprise. If you have a valid MSDN Premium subscription, it will be automatically upgraded to MSDN Enterprise, which is fully loaded as previous MSDN Ultimate.

image

Limited Period Upgrade Offer – 50% off on upgrade to Premium

Beginning May 2015 – Upgrade from : Visual Studio Professional with MSDN or Visual Studio Test Professional with MSDN to Visual Studio Premium with MSDN for 50% off the regular list price and get a free upgrade to Visual Studio Enterprise with MSDN automatically when Microsoft release Visual Studio 2015.

image

For more information follow: https://www.visualstudio.com/en-us/products/vs-2015-product-editions.aspx

NuGet Package – Unity.WebAPI

January 5, 2015 .NET, .NET Framework, .NET Framework 4.5, .NET Framework 4.5.2, ASP.NET, ASP.NET 4.5, ASP.NET MVC, Microsoft, NuGet, Package Manager, VisualStudio, VS2010, VS2012, VS2013, Web API No comments

Today I came across this interesting Nuget Package for creating ASP.NET Web API project with Microsoft Unity Dependency Injection container.

  • It is pretty simple to configure and install on your existing Web API project or new ones.

Inorder to use it, use the respective NUGET package from below links:

To install Unity.WebAPI, run the following command in the Package Manager Console

PM> Install-Package Unity.WebAPI -Version 0.10.0

To install Unity.WebAPI, run the following command in the Package Manager Console

PM> Install-Package Unity.WebAPI

You can find out more about Unity.WebAPI by visiting – http://devtrends.co.uk/blog/introducing-the-unity.webapi-nuget-package

iOS – Swift vs Objective-C

December 28, 2014 iOS, KnowledgeBase, Mobile-Development, Objective-C, Swift Language No comments

Since the introduction of Swift by Apple( a new programming language for developing iOS apps using xcode) , among iOS developers it has become a myth that Swift is going to replace Objective-C.

I just would like to add my few cents to this view:

MYTH 1: Swift will replace Objective-C immediately

NO, Swift is a new and flexible way of developing iOS apps. Though it has advantage over Objective-C, in terms of performance, stability and simplicity.  Objective-C has come so far and lots of apps developers prefers objective-c as their primary language for iOS development. It will take a long way for developers to migrate to Swift.

Apple doesn’t say you should migrate to Swift immediately, they have given you both options. Based on how flexible you are with each of these languages, you can choose to develop iOS apps using:

  1. Swift
  2. Objective-C
  3. a Combination of both (this would me more applicable for existing applications).

Apple has just given you another option for Developing iOS apps. So don’t fear about migrating to Swift immediately.

MYTH 2:  Existing apps should be migrated to SWIFT immediately

NO, Apple has given you a new concise language and syntax for iOS application development in fewer lines than traditional Objective-C.

You don’t have to migrate your existing applications to SWIFT, that’s not the intend. You have the flexibility to develop new features and additions to your apps using Swift (without upgrading or converting you code to Swift). Objective-C and Swift can co-exist in application development.

I hope that clarifies some of the confusions.

If you are a beginner and would like to learn about Swift, refer to the following articles:

Android Studio 1.0 released

December 10, 2014 ANDROID, Android Studio, Mobile, Mobile-Development No comments

Google Android Developer team has released version 1.0 of new IDE for developing Android apps. The new IDE is based on popular IntelliJIDEA platform(Community Edition) and Google Android is moving away from Eclipse based IDE for developing Android Mobile Apps.

Developers who willing to develop Android mobile apps should try the new IDE, and for existing developers Eclipse IDE based ADT plugin would be available for some time. Going forward Android Team would freeze releasing updates for ADT Plugin.

Android Studio 1.0 offers following features:

  • Flexible Gradle-based build system
  • Build variants and multiple apk file generation
  • Code templates to help you build common app features
  • Rich layout editor with support for drag and drop theme editing
  • Lint tools to catch performance, usability, version compatibility, and other problems
  • ProGuard and app-signing capabilities
  • Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine
  • And much more

You can download Android Studio 1.0 for Windows, Linux and Mac

Read more from:

http://android-developers.blogspot.in/2014/12/android-studio-10.html

http://developer.android.com/tools/studio/index.html

Windows Phone Screen Sharing/Mirroring to PC

July 4, 2014 KnowledgeBase, Mirror Casting, Visual Studio 2013, VisualStudio, VS2012, VS2013, Windows, Windows 8, Windows 8.1, Windows Phone, Windows Phone 8, Windows Phone 8.0 SDK, Windows Phone Development, Windows Phone SDK, Windows Store Development No comments

Being mobile developer and strong follower of Mobile related technologies, always admire to  demonstrate my work to my friends and colleagues.  All this time I was fancy about iOS Mirroring provided through apps Reflector and Air Server.   With help of these tools we used to mirror our iPad/iPhone to be mirrored to a Windows/Mac and then project that to large screen using a Projector. These tools seamlessly mirror your activities on iPad/iPhone and audiences get a live view of the application running in a Live Phone.  Advantage is you don’t have to rely on iOS Simulators coming with XCode and iOS SDK alone to demo your applications.

Coming to Windows Phone, we can have the same through a Wired Connection. Probably in recent Microsoft demos you might have fancied how the presenters used to share their Windows Phone activities and features from their live phones. You don’t have to envy them, it is available for our use now.

Microsoft has provided an application to be installed on Windows/Mac or Tablets and through a Wired or Wifi.

Download Project My Screen App from Microsoft

It is pretty simple to use:

1. Just install the app on your Windows/Mac

2. Connect your Windows Phone to USB (wired)

3, Launch “Project My Screen App” from Start Menu. It will detect your phone and your will will be prompted to Accept the screen sharing. Click on ‘Yes’, and look how amazing it is to share your screen on PC.

PS: There is a caveat you all need to know, you cannot share DRM protected contents through this feature. 

PMS_01

Enjoy your live demos…

Disable Client Side validation on a button click – ASP.NET MVC

September 16, 2013 .NET, .NET Framework, ASP.NET, ASP.NET 4.5, ASP.NET MVC, Back-2-Bascis, Codes, JavaScript, jQuery, Microsoft, Snippets, VisualStudio, VS2010, VS2012 No comments

ASP.NET MVC we use client side validation using jQuery.validate plugin, which will be based on Model – Data Annotation validation attributes.

In some cases we might want to disable such validation on a button click wherever it is not needed.

For example:

The below code block will register validation block for Title property in the Model, will result in client side validations fired when user click on button.

<div class="editor-field">
          @Html.EditorFor(model => model.Title)
          @Html.ValidationMessageFor(model => model.Title)
     </div>
<input type="submit" name="backButton" value="Back" title="Go back to Prev step." /> 

We can disable the client side validation check for a button using the “disableValidation=true” attribute for the button.

<script type="text/javascript">
  document.getElementById("backButton").disableValidation = true;
</script>

OR

<input type="submit" name="backButton" value="Back" 
 title="Go back to Prev Step" disableValidation="true" />

OR

You disable client-side validation on a button by adding the css style class “cancel” to it.

That will look like below example:

<input type="submit" name="backButton" value="Back"
 title="Go back to Prev Step" class="mybtn-style cancel" />

These are the different ways you can disable the client side validations. Hope it was helpful.