aroman07

Stories submitted by friends of aroman07

Share C# Anonymous Types across Functions and Scope(blogs.msdn.com)

submitted by crpietschmanncrpietschmann(11.3k) 8 months, 28 days ago

So earlier today I was lamenting that an anonymous type can't be shared between functions with Wes Dyer, when he said "Well actually they can..." read more...

add a comment |category: |Views: 7

tags: another

Service msftesql was not found on Computer[CRM 4.0 Installation (www.aspxwizard.net)

submitted by bo2bo2bo2bo2(570) 1 year, 1 month ago

CRM 4.0 Dynamics error installation & Fix read more...

add a comment |category: |Views: 3

tags: another

Fun With jQuery Deferred(intridea.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 3 months ago

If you've upgraded to the recently released jQuery 1.5 you may have heard about the fancy new AJAX facilities that allow you to define things like this: var jax = $.ajax({ url: '/some/url' }) jax.success(function() { alert("It worked!");") }); read more...

add a comment |category: |Views: 27

tags: another

ASP.NET MVC Tip #48 – Disable Request Validation(stephenwalther.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 3 months ago

By default, the ASP.NET MVC framework prevents you from submitting form data that contains potentially malicious content. This feature is called request validation. This is a good feature. You don't want people sneaking scripts into your website that can steal passwords or other sensitive user information. Normally, you want to leave request validation enabled. Unlike a Web Forms application, you cannot disable request validation by using the <%@ Page ValidateRequest=”false” %> directive. You also cannot disable request validation in the web configuration (web.config) file. If you want to disable request validation then you must use the [ValidateInput] attribute. You apply the [ValidateInput] attribute to the controller action that accepts the form input. read more...

add a comment |category: |Views: 41

tags: another

ASP.NET MVC 3 RTM Released!(www.microsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 4 months ago

ASP.NET MVC 3 is a framework for developing highly testable and maintainable Web applications by leveraging the Model-View-Controller (MVC) pattern. The framework encourages developers to maintain a clear separation of concerns among the responsibilities of the application – the UI logic using the view, user-input handling using the controller, and the domain logic using the model. ASP.NET MVC applications are easily testable using techniques such as test-driven development (TDD). The installation package includes templates and tools for Visual Studio 2010 to increase productivity when writing ASP.NET MVC applications. For example, the Add View dialog box takes advantage of customizable code generation (T4) templates to generate a view based on a model object. The default project template allows the developer to automatically hook up a unit-test project that is associated with the ASP.NET MVC application. Because the ASP.NET MVC framework is built on ASP.NET 4, developers can take advantage of existing ASP.NET features like authentication and authorization, profile settings, localization, and so on. read more...

1 comment |category: |Views: 212

tags: another

Use Non-default Membership Provider for WCF Authentication Service(msdn.microsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 6 months ago

This topic shows how to programmatically select the membership provider when you call the ASP.NET authentication service by using Windows Communication Foundation (WCF). You can use a non-default membership provider when you have to authenticate users by using different membership providers, based on information that you get at run time. To authenticate through a non-default membership provider, you create an event handler for the Authenticating event. read more...

add a comment |category: |Views: 144

tags: another

Silverlight Cached Assemblies and you can to!(timheuer.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 6 months ago

One of the new features I mentioned in my What’s new/changed post on Silverlight 3 is the fact that any application developer can take advantage of the cached assembly functionality provided by Silverlight. Let me show you how and start with the current situation. read more...

add a comment |category: |Views: 5

tags: another

Silverlight: Embed IronRuby/DLR Scripting within XAML using IValueConv(pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 7 months ago

After I wrote the “Intro to IronRuby/DLR Scripting in C# Silverlight 4 Application” post, I came across an interesting series on embedding DLR scripts in XAML with WPF. This is an interesting series, although the code doesn’t run in Silverlight, due to the fact that Silverlight is only a subset of WPF and doesn’t support the System.Windows.Markup.MarkupExtension class. I test out a couple things in Silverlight, and I was able to get similar DLR scripting functionality working under Silverlight using a combination of a simple, custom IValueConverter and a custom UserControl class. read more...

add a comment |category: |Views: 16

tags: another

Dynamic XAP Discovery with Silverlight MEF (www.wintellect.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 7 months ago

What's missing, it seems, is a mechanism to dynamically discover the XAPs that are available on the server. If I'm using MEF to support a plug-in architecture, for example, I might want to drop a XAP containing a new plug-in into a folder on the server and have the plug-in automatically show up in my browser the next time the application runs. MEF won't do that on its own, but it will if you lend it a helping hand. After discussing various ways to do dynamic discovery in MEF with Jeremy Likness, I wrote a sample to demonstrate a technique based on passing InitParams to the Silverlight control. The technique is pretty simple. You begin by modifying the ASPX file that hosts your Silverlight application. First, you add an empty InitParams <params> element to the <object> element that instantiates the Silverlight control, and you include an ID and a runat="server" attribute so you can manipulate the element from server-side code: read more...

add a comment |category: |Views: 45

tags: another

Intro to IronRuby/DLR Scripting in C# Silverlight 4 Application(pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 7 months ago

I thought I’d share what I’m learning about adding IronRuby scripting to Silverlight 4 applications. I’m also focusing on C# as the host language, but the .NET object and methods used will be the same from VB.NET. read more...

add a comment |category: |Views: 18

tags: another

Embedding DLR Scripts in XAML- Part 2, A Simple DLR Markup Extension(www.thinkbottomup.com.au)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 7 months ago

This article demonstrates how to embed DLR scripts in XAML using a custom MarkupExtension. The scripting language can be any language supported by the DLR, such as Python or Ruby. read more...

add a comment |category: |Views: 20

tags: another

Use New Bing Maps Road Imagery In Silverlight Map Control(pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 1 year, 9 months ago

Recently the consumer facing Bing Maps site changed the map imagery that is displayed for the Road map mode. This map imagery has not been officially made available for Bing Maps for Enterprise developers to use within their applications. The imagery is only officially available to the Bing Maps consumer website. Unofficially, you can still access the imagery if you know the URL format to get it. Below is an example of using the URL format for the new imagery to display it within the Bing Maps Silverlight Control. read more...

add a comment |category: |Views: 36

tags: another

Tekpub ASP.NET MVC 2 Starter Site 0.5 Released(blog.wekeroad.com)

submitted by AnastasiosyalAnastasiosyal(960) 2 years ago

"I've been working on a couple of side jobs and one of the fun things I've been able to do is refine Tekpub's MVC Starter Site - fixing some bugs and also adding functionality. I've been meaning to talk about this more - so here goes. I'll show you how you can use the Starter Site to build out... oh let's just say a nice Music Store :)." read more...

add a comment |category: |Views: 26

tags: another

Lookups in DataGrid and DataForm with RIA Services(jeffhandley.com)

submitted by crpietschmanncrpietschmann(11.3k) 2 years ago

While off reading random blog posts on the tubes, I stumbled upon a post that describes a 101-level scenario of using lookup data in the DataGrid and DataForm with RIA Services. The author was struggling to find a solution for the problem and was clearly frustrated. read more...

add a comment |category: |Views: 71

tags: another

MVC Portable Areas – Static Files as Embedded Resources(geekswithblogs.net)

submitted by crpietschmanncrpietschmann(11.3k) 2 years, 1 month ago

This is the third post in a series related to build and deployment considerations as I’ve been exploring MVC Portable Areas. In the last post, I walked through a convention for managing static files. In this post I’ll discuss another approach to manage static files (e.g., images, css, js, etc.). With this approach, you *also* compile the static files as embedded resources into the assembly similar to the *.aspx pages. Once again, you can set this to happen automatically by simply modifying your *.csproj file to include the desired extensions so you don’t have to remember every time you add a file: read more...

add a comment |category: |Views: 138

tags: another

How to Access Assembly Version Info in Silverlight(forums.silverlight.net)

submitted by crpietschmanncrpietschmann(11.3k) 2 years, 2 months ago

I need to access the AssemblyVersion info from my assembly, and I was going to use something like this: Assembly.GetExecutingAssembly().GetName().Version; But, I see that GetName() is [SECURITY CRITICAL]. How can I get a hold of a Version object?? read more...

add a comment |category: |Views: 29

tags: another