alessandrokicks

Stories submitted by alessandrokicks

Entity framework and nhibernate too complex? Say hello to FluentData. (fluentdata.codeplex.com)

submitted by alessandrokicksalessandrokicks(195) 3 months, 6 days ago

Are you tired of fighting with overly complex ORMs such as Entity Framework and NHibernate? Are you tired of poorly generated SQL or having to change your business objects to work with your ORM? Do you miss the power and performance of ADO.NET and SQL, but not the manual tedious work? If so FluentData might be the framework for you. FluentData is a Micro ORM that makes it simple to select, insert, update and delete data in a database. It gives the developer the power of ADO.NET but with the convenience of an ORM. It has a simple to use fluent API that uses SQL - the best and most suitable language to query data, and SQL or fluent builders to insert, update and delete data. read more...

1 comment |category: |Views: 364

tags: another

ABMHO --A SYNTAX HIGHLIGHTER THAT RUNS ONLINE AND OFFLINE(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 7 months, 23 days ago

The first stable release of Abmho is out. It is by no means the first or only syntax highlighter on the web. There are quite a few out there but the vast majority aren't usable. Abmho can mix languages within the same code snippet, allows you to style your code with live preview and many more features. Perhaps one of the most interesting feature is that it is a silverlight application that runs both on the web and optionally installable as an OOB application. read more...

1 comment |category: |Views: 14

tags: another

Binding data from the ViewModel to the Wpf menu control(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 1 year ago

Databinding the Menu Control in wpf to a viewmodel can require a little bit of effort. As a menu control can contain hierarchical data, you must think of a data model to represent your menu items upfront, so I've decided to write a little about it. But before we dive into the meat and potatoes, lets try the basics first.. read more...

add a comment |category: |Views: 7

tags: another

GETTING THE MOST OUT OF THE WINFORMS PROPERTYGRID CONTROL IN WPF(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 1 year ago

The PropertyGrid control has been missing in WPF since it's release and sadly it's still missing! There have been various attempts by third parties to provide one and I cant speak for the commercial offerings but I find the ones in the open source space to be quite lacking and incomplete. Most projects I found on codeplex are still in beta! I really like the api exposed by the original PropertyGrid which I have been using for years now but it's a Winforms control. This presents some problems. The main issue for me with the Winforms version of the PropertyGrid is that it's not styleable. So it means that I'll have some inconsistency in my UI and it will stick out as shabby and odd. read more...

add a comment |category: |Views: 10

tags: another

Custom popup and windows in WPF the MVVM way(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 1 year, 1 month ago

In WPF, using the regular window control to launch child windows makes MVVM and separating a View concern from the ViewModel very difficult. The problem: The window control works nicely as a shell for your application, however, launching child windows is problematic because the window control cannot be defined in xaml unless as the root element. So, if you wanted to launch child windows inside a parent window, you lose the ability to declare these in xaml. This loss means you will not be able to bind to properties in your ViewModel from the view for the purpose of opening/closing a window. Instead you end up doing this imperatively in code.. read more...

add a comment |category: |Views: 113

tags: another

Display and Editor Templated View Helpers in ASP.NET MVC(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 1 year, 1 month ago

Templated view helpers simplifies your work greatly by allowing you to specify that rendering is required for display (read only view) or input via Display and Editor templated Helpers respectively without needing to explicitly specify what Html element to map the properties in our model to. read more...

add a comment |category: |Views: 8

tags: another

MARS - Multiple Active Result Sets support in SQL Server 2005 and abov(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 1 year, 1 month ago

SQL Server 2005 onwards supports MARS - Multiple Active Result Sets. MARS enables you to reuse an existing connection to perform operations on SQL Server. This makes MARS a viable alternative to server-side cursors with significant performance boosts. As powerful that may seem it has it's drawbacks so care needs to be taken when using it. read more...

add a comment |category: |Views: 1

tags: another

.NET exceptions, error handling for the exceptional case(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 1 year, 1 month ago

The tip of the day consists of in making sure to use a try/catch block to trap individual exception types such as SqlException which is specific whereas Exception is more general. For instance, imagine you are connecting to a database, it's quite common to experience a connection failure that you might not expect. So it makes sense to try to handle any unexpected connection failures. read more...

add a comment |category: |Views: 3

tags: another

Silverlight or Html5 - from A .NET developer perspective.(blog.typps.com)

submitted by alessandrokicksalessandrokicks(195) 1 year, 1 month ago

If you are already invested in .NET, then you have been honing a particular set of skills for the past decade. This puts you at a position where it is difficult to favor Html5 simply because you lose some agility and sometimes this may make all the difference. read more...

add a comment |category: |Views: 49

tags: another

Beginners introduction to Jiffycms open source HTML Editor(weblogs.asp.net)

submitted by alessandrokicksalessandrokicks(195) 3 years, 2 months ago

Jiffycms HTML Editor is a rich text open source HTML editor with commercial grade features and is a great alternative to many free or commercial editors available today. It has great designer support in VS.NET and simply works out of the box without any additional configurations or plumbing on your part. read more...

add a comment |category: |Views: 73

tags: another

Conserving Resources When Writing BLOB Values to SQL Server and Stream(weblogs.asp.net)

submitted by alessandrokicksalessandrokicks(195) 3 years, 8 months ago

Reading and writing blob data to/from your database can be a resource hog, because it normally involves holding the entire stream in memory.. read more...

add a comment |category: |Views: 28

tags: another

Building and binding hierarchical data from the database to the ASP.NE(weblogs.asp.net)

submitted by alessandrokicksalessandrokicks(195) 4 years, 3 months ago

If we need to bind our navigations controls to hierarchical data we define manually ourselves in an xml file, this is easy as pie. However, things can get rather complicated or not so obvious when we need to generate this data from a database. First off... read more...

add a comment |category: |Views: 7

tags: another

Customizing the ChangePassword control and removing the required Curre(weblogs.asp.net)

submitted by alessandrokicksalessandrokicks(195) 4 years, 3 months ago

When using the ChangePassword control, to my big surprise, CurrentPassword Field is a required field that i cannot remove. This is also a field that I do not want asked for during the password change request(since my user has forgotten their password and are now going to provide their new pasword)... read more...

add a comment |category: |Views: 21

tags: another

Semantically correct markup and the casual table. Can they co-exist ? (weblogs.asp.net)

submitted by alessandrokicksalessandrokicks(195) 4 years, 3 months ago

I am sure by now, everybody has been scorned upon for not using semantically correct markup. It's all over the web today. The message is clear, Web standards are important. Valid Xhtml is important but above all, SEMANTICALLY CORRECT MARKUP! What is Semantically correct markup ? First lets define semantics.. read more...

add a comment |category: |Views: 1

tags: another

Reducing UpdatePanel bloat by utilizing UpdateMode="Conditional" and C(weblogs.asp.net)

submitted by alessandrokicksalessandrokicks(195) 4 years, 3 months ago

Just the other day, i was playing around with my DataControls nested inside an updatepanel. While this was working well, since everypostback was being done via an ajax callback, the amount of traffic going back and forth was simply way too bloated. It's easy not to notice at first, because everything is working as expected. however imagine a simple situation... read more...

add a comment |category: |Views: 33

tags: another

Failed to load viewstate ? Typical problem, with an obvious solution. (weblogs.asp.net)

submitted by alessandrokicksalessandrokicks(195) 4 years, 4 months ago

WebForms is an event based postback model and as such understanding viewstate is fundamental for the proper functioning of your applications. If your building dynamic controls at runtime, then this is for you read more...

add a comment |category: |Views: 38

tags: another