Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

Buy Motorola Moto G with Rs 2000 off (Limited time offer) in Flipkart

AddThis Social Bookmark Button
Motorola’s Moto G is one of the best selling smartphones this year from Motorola India . The device is powered with 4.5-inch HD Display , 1 GB RAM , Android KitKat OS , 5 MP Primary Camera etc. Today , you can buy Moto G with a discount of Rs 2000 from Flipkart . The device has got a Rs 2000 price cut on both of the Moto G models (8GB and 16GB) for a limited time. The Moto G with 8GB storage can be bought for Rs 10,499 and the Moto G with 16GB can be bought for Rd

Stellar MySQL Repair Software to Repair Corrupt MySQL Database

AddThis Social Bookmark Button
MySQL is the world'??s most popular open source relational database management system (RDBMS). It uses a special purpose query language called the Structured Query Language (SQL) to manage data. The two most common search engine used by MySQL database is MyISAM and InnoDB. However, the default storage engine used by MySQL database is the MyISAM. The choice of the search engine totally depends upon the size of the database.

While working with such a database, the tables are not accessible at times. There are various reasons for an inaccessible database. Some of them are as mentioned below.
Corrupt MyISAM table
There are three
different files that are created when a table is created under MySQL.
FRM files are created to store table formatMYD (MyData) files are created to store the dataMYI (MyIndex) files are created to store the index
Corruption in any of these files could lead to inaccessibility of the database.
Multiple instances of MySQL runningChange in the settings of InnoDB logInvisible MySQL host tablesMalfunctioning of the auto_increment count in MyISAMMultiple connections that can be handled by the databaseConcurrent writes to InnoDB table make them corrupt
Most of the above mentioned reasons can be fixed by simply restarting the database. However, you can also try various...(Read whole news on source site)

Finding out datatype of an expression or a variable

AddThis Social Bookmark Button
One of my friends asked me if there is a way to identify the datatype of an expression or a variable. In SQL Server, you can make use of the function named SQL_VARIANT_PROPERTY. This function accepts a parameter of any datatype and return it's various properties like Base datatype, Precision, Scale etc. Consider the following examples SELECT 75000*0.8 as value The result is 60000.0. You can find the datatype of the result using the following SELECT SQL_VARIANT_PROPERTY(75000*0.8,'BASETYPE') AS 'BASE TYPE' The result is numeric 

You can also find the precision using
SELECT SQL_VARIANT_PROPERTY(75000*0.8,'BASETYPE') AS 'BASE TYPE', SQL_VARIANT_PROPERTY(75000*0.8,'precision') as precision, SQL_VARIANT_PROPERTY(75000*0.8,'scale') as scale The result is BASE TYPE precision scale --------- ---------
----- numeric 7 1 The same applies to a variable as well.
...(Read whole news on source site)

Settings for your Visual Studio Extension

AddThis Social Bookmark Button
Recently I wrote what many consider to be the most important Visual Studio Extension ever shipped - Encourage for Visual Studio. It was my humble attempt to make a small corner of the world brighter with little encouragements as folks work in Visual Studio. You can get it via the Visual Studio Extension Manager. But not everyone has a sunny disposition like I do. Some folks want to watch the world burn. What they want is Discouragements. Well an idiot might write a whole other Visual Studio Extension with a set of discouragements. I may be many things, but I
am no idiot. This problem is better solved by allowing users to configure the set of encouragements to be anything they want. And that's what I did. I added an Options pane to allow users to configure the set of encouragements. It turned out to be a more confusing ordeal than I expected. But with some help from Jared Parsons, I may now present to you, discouragements! So if you're of the masochistic inclination, you can treat yourself to custom discouragements all day long if you so choose. Challenges and Travails So why was this challenging? Well like many things with development platforms,...(Read whole news on source site)

Sharing code between a Xamarin Forms/MVVMLight app and EF-code first backend using Shared Reference Project Manager

AddThis Social Bookmark Button
Disclaimer I am in the very early early stages of toying with Xamarin and it may well be that whatever I am doing here, is not the smartest thing in the world. This is a much as a report of my learning (may ‘struggle’ is a better word) as how-to. But what I describe here works – more or less – although it was a mighty hassle to actually get it working. The objective While I was having my first trials with Xamarin stuff, I turned to Entity Framework Code First because, well, when setting up a backend
I am lazy. Without much thinking I made the models, using data annotations, and soon found out I had painted myself into a corner with a model that (very simplified) looks like this using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DemoShared.Models { [Table("Pictures")] public class Photo { public long ID { get; set; } [Required] public string Name { get; set; } } } Guess what - data annotations don't work in PCL. Now what?...(Read whole news on source site)

Dependency injection directly into actions in ASP.NET Web API

AddThis Social Bookmark Button
There is a ton of great material on the Internet about dependency injection in ASP.NET Web API. One thing that I have not seen anywhere though, is any information about how to inject dependencies into the action, instead of a … Continue reading →The post Dependency injection directly into actions in ASP.NET Web API appeared first on StrathWeb.

Sharing code between an Xamarin Forms/MVVMLight app and EF-code first backend using Shared Reference Project Manager

AddThis Social Bookmark Button
Disclaimer I am in the very early early stages of toying with Xamarin and it may well be that whatever I am doing here, is not the smartest thing in the world. This is a much as a report of my learning (may ‘struggle’ is a better word) as how-to. But what I describe here works – more or less – although it was a mighty hassle to actually get it working. The objective While I was having my first trials with Xamarin stuff, I turned to Entity Framework Code First because, well, when setting up a backend
I am lazy. Without much thinking I made the models, using data annotations, and soon found out I had painted myself into a corner with a model that (very simplified) looks like this using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DemoShared.Models { [Table("Pictures")] public class Photo { public long ID { get; set; } [Required] public string Name { get; set; } } } Guess what - data annotations don't work in PCL. Now what?...(Read whole news on source site)

Home