-
Recent Posts
Recent Comments
- iminfense on Silverlight 4 – 070-506 Exam… Passed!
- trade show displays on Leveraging OData end-points in JSON format with JQuery
- Española Lawyers on Leveraging OData end-points in JSON format with JQuery
- death records on Leveraging OData end-points in JSON format with JQuery
- Kassandra Haupt on GeneratedWCFClientCode and RIA Services Toolkit changes Silverlight project behavior!
Archives
Categories
Meta
Tags
AJAX ASP.NET MVC 3 Building Search Filters Certification EF Entity Framework Fiddler2 Gotchas Hacking HTML5 INotifyPropertyChanged JQuery JSON OData PHP PropertyChanged RIA Services Toolkit Security Silverlight Silverlight 4 SQL Injection SQL Server Table Value Parameters Testing Training WAMP WPF XAML
Entity Framework 4, WPF, and PropertyChanged event solution w/ T4-templating
While working on a relatively large WPF 4.0 project, I ran into a relatively common problem. The Entity-Framework doesn’t expose the “Property-Changed” event in all of the right places. Additionally, when I needed an “ObservableCollection” for updating a data-grid or list control of some type… I wasn’t provided with one out-of-the-box. So enter T4-templates. What [...]
Utilizing JSON Endpoints in WCF Domain Services
These videos (3 in total) will explain how it is done. They will be using a relatively simple T4-template that I’ve implemented specifically for the .NET 4.0 version of Entity Framework. The T4-Template is written to support basic CRUD operations against a single collection of table-related classes. The T4-Template doesn’t do much in the way of supporting the necessary operations to track related entities in JSON that come back from the WCF Domain Service query.
Posted in AJAX, Entity Framework, Training
Tagged ASP.NET MVC 3, Entity Framework, JQuery, JSON, Training
Leave a comment
HTML 5 Presentation for IPMA 2011 Forum
HTML 5 is new set of features that are being recommended by the W3C and several other “standards” governing bodies. I.T. companies that develop browsers for every-day use are taking notice and working overtime to implement most of these new features. The content attached to this article explains with a set of PowerPoint 2010 slides and demo source-code… how to leverage and plan for the new HTML 5 standard.
Problems with WAMP and Windows IIS 7.0+ settings
When attempting to install and configure Apache to run on your Windows 2008 server in order to leverage MySQL and PHP based web-frameworks… you may realize that your normal Windows Integrated Security websites are no-longer running and actually prevent you from accessing them. (This occurs only if you’re using the standard port 80 to access your website.) This is because the WAMP install package and other similar packages that configure Apache to run on a Windows Server, typically modify the “hosts” file burried in your Windows directory.
ASP.NET MVC 3 Security Re-Visited
While presenting at the IPMA, I demonstrated to the 150+ person audience how easy it is to hijack another user’s credentials within an ASP.NET MVC 3 application that hasn’t been vetted for coding-practices. In this article, I will show a video of me re-demonstrating that attack, exactly how to fix it, and post the source-code [...]
SQL Injection Solution using Table-Value-Parameters
Alright, after a long… ok, really long… wait I have finally gotten around to posting the content folks were asking for from the recent IPMA security presentation. The source-code and walk-thrus are below. First up is the SQL-Server injection problem. There are many ways that a hacker can exploit vulnerabilities, and SQL Server injection is [...]
IPMA Security Training 2011
Today, I delivered a basic 3-hour session on areas to focus on when hardening security in WA State Agencies. I mainly focused the first half of the presentation on common best-practice methods like clear lines of communication between Project Managers and Network, Security, and Database Administrators as well as practicing good coding practices such as peer-programming, code-reviews, and the like. I finished off the first 2 hours be demonstrating the use of Fiddler2 and how it could be used to probe, and then attack an ASP.NET MVC application.
GeneratedWCFClientCode and RIA Services Toolkit changes Silverlight project behavior!
The impact is that “RIA Services Toolkit” modifies your Silverlight Project file such that any linked Web projects will be scanned for “Silverlight enabled WCF Services”. Once any WCF services are found, VS2010 will automatically generate a GeneratedWCFClientCode hidden folder and drop the service proxy class in it at compile time! (Similar to how it generates the Generated_Code folder for RIA Services proxy classes.) It also automatically appends or overwrites the appropriate settings in the ServiceReferences.ClientConfig file typically associated with WCF references from Silverlight.
Posted in Gotchas, Silverlight, Uncategorized
Tagged Gotchas, RIA Services Toolkit, Silverlight 4
3 Comments
Silverlight 4 Training – March 10, 2011
The files for the last day! My next post will go into a bit more detailed description of each of these. This was the final day of introductory training for Washington State agency I.T. staff on Silverlight 4. Training today covered offline disconnected Data queries, Unit-Testing asynchronous methods, working with Effiproz, leveraging COM Interop and [...]
Silverlight 4 Training, March 08 2011
The first day of Silverlight 4 training took a slight deviation from the original agenda. Based on a “show of hands”, I decided to delve into a 1-hour session on the basics of creating XAML and what Silverlight is meant to do. I also discussed where its getting competition from and how it should fit into [...]