Shimmy on .NET
Ideas and thoughts about .NET and related geeky material by Shimmy Weitzhandler
Sign in
|
Join
|
Help
Home
Contact
About
RSS
Atom
Comments RSS
Search
Tags
.NET
ADO.NET
C#
Cast
Convert
DataAnnotations
Date
DbContext
DEV
Dictionary
EDM-Designer
EDMX
Entity Framework
Entity Framework 4.1
Entity Framework 5.0
Expression Tree
Extension Methods
Hebrew
ICloneable
IDictionary
Jewish
LINQ
MVVM
ObservableDictionary
OFFTOPIC
Prism
RIA
RIA-Services
Silverlight
Silverlight-4
Silverlight-5
SQL
SQLCE
string
Text
Type-Conversion
Unique-Constraint
ValidationAttribute
VB.NET
VB10
View
ViewModel
Visual-Studio-2010
WinRT
WPF
XAML
News
Navigation
Home
All Posts
RSS
Popular Tags
Archives
May 2012 (2)
March 2012 (2)
February 2012 (2)
January 2012 (4)
October 2011 (1)
May 2011 (2)
April 2011 (1)
March 2011 (2)
December 2010 (2)
September 2010 (1)
August 2010 (3)
March 2011 - Posts
2
Comments
Tip: VB's 'My' namespace for Silverlight
by
Shimmy
Silverlight lacks the My namespace, but for those who are addicted to the My keyword, it can still be achieved manually. Open windows explorer and navigate to your project Add a new file MyExtension.vb to this folder (location and filename are optional) Include it in your project Add the below content to it Although the Info , Computer , and many other features are missing from the Silverlight runtime, you could use alternatives from System.Reflection etc. Here is a MyExtension.vb sample, you can...
תגים:
DEV
,
VB.NET
,
Silverlight
,
Visual-Studio-2010
,
Silverlight-4
0
Comments
TIP: Have the 'SILVERLIGHT' processor directive appear in intellisense in the ASP.NET host project (VB.NET)
by
Shimmy
Nothing special anyway, but I thought let's write it down briefly. In Silverlight solutions, especially when RIA Services is enabled, it's pretty common to use the SILVERLIGHT processor directive in the shared code and other. So the SILVERLIGHT directive is known in the Silverlight project, but in the ASP.NET there it doesn't appear in the intellisense, and since this is always valid, it's kinda error-prone when there is no intellisense support. To enable the intellisense simply open...
תגים:
DEV
,
VB.NET
,
RIA
,
Silverlight
,
Visual-Studio-2010
,
Silverlight-4
,
RIA-Services