iwannis

Stories submitted by iwannis

(Windows8) WinJS single page navigation and ViewModels(www.progware.org)

submitted by iwannisiwannis(452) 2 months, 4 days ago

In the previous post, we have seen simple data-binding scenarios using WinJS and got a glimpse on the way a ViewModel can be created (following the MVVM pattern). In this post, we will build and application where there are more than one views (pages - simple page navigation app) with simple html elements and ListViews with real data. read more...

add a comment |category: |Views: 12

tags: another

(Windows8) WinJS Basic Javascript Objects and the ViewModel pattern(www.progware.org)

submitted by iwannisiwannis(452) 2 months, 15 days ago

When someone starts implementing small programs in Visual Studio 2011 and starts playing with the VS2011 templates for Metro applications in Javascript, he soon wonders about the differences that WinJS brings in Javascript object creation and what is the best practice of connecting the view (HTML) with the model (Javascript). read more...

add a comment |category: |Views: 98

tags: another

KnockoutJS, Offline Cache, CSS3 and HTML5 in ASP.NET MVC(www.progware.org)

submitted by iwannisiwannis(452) 5 months, 9 days ago

A demo of using all those in a simple list management webpage. read more...

add a comment |category: |Views: 64

tags: another

A scripting language for your (web)app with DLR or Roslyn(www.progware.org)

submitted by iwannisiwannis(452) 6 months, 26 days ago

How to provide a scripting language to your users of your (web)app by using the Dynamic Language Runtime (DLR) and IronPython, and then the services provided by the Roslyn CTP with C#. read more...

4 comments |category: |Views: 34

tags: another

Porting a WPF application to Windows8(www.progware.org)

submitted by iwannisiwannis(452) 7 months, 7 days ago

We take a simple WPF app and try to port it to Windows8. What needs to be changed? read more...

add a comment |category: |Views: 33

tags: another

A first encounter with Windows8 Development (C#, XAML, JavaScript)(www.progware.org)

submitted by iwannisiwannis(452) 8 months, 12 days ago

First thoughts on developing in Windows8 read more...

add a comment |category: |Views: 37

tags: another

ASP.NET MVC HTML5 Before and After: The “semantic” markup of HTML5(www.progware.org)

submitted by iwannisiwannis(452) 11 months, 2 days ago

The semantic markup/value of HTML5 In this post, we see how the new semantic tags of HTML5 alter the HTML generated for the homepage of a simple site and why this is important. read more...

add a comment |category: |Views: 17

tags: another

Inversion of Control (IoC) and Dependency Injection (DI) and why they (www.progware.org)

submitted by iwannisiwannis(452) 11 months, 17 days ago

In this blog post, we are going to see how and when Dependency Injection (DI) and Inversion of Control(IoC) can be applied for writing nice and maintainable code. Note that although there are plenty of tools out there that give you the ability to apply DI out of the box, in this post we are going to implement such a tool on our own gaining valuable insight on the workings of IoC and DI. read more...

add a comment |category: |Views: 6

tags: another

Left Outer Join in LINQ to Entities (for Entity Framework 4)(www.progware.org)

submitted by iwannisiwannis(452) 1 year, 3 months ago

In this post we will explore the most practical ways of performing left outer joins in LINQ to Entities for Entity Framework 4. read more...

add a comment |category: |Views: 46

tags: another

XNA for Windows Phone 7 and Physics Engine(www.progware.org)

submitted by iwannisiwannis(452) 1 year, 3 months ago

XNA introduction for Windows Phone 7 along with a small demonstration of the FarSeer physics engine and the way to define the engine's parameters to avoid common pitfalls (object misplacement, slow simulation). read more...

add a comment |category: |Views: 36

tags: another

A simple REST service in C#(www.progware.org)

submitted by iwannisiwannis(452) 1 year, 3 months ago

The first steps in implementing a RESTful service (GET Request) and hosting it. read more...

add a comment |category: |Views: 27

tags: another

Interception and Interceptors in C# (Aspect oriented programming)(www.progware.org)

submitted by iwannisiwannis(452) 1 year, 4 months ago

In this post, we see how to define specific actions to be executed before or after the execution of every call to a method in our code. This is also known as “intercepting” the execution of a method and is related to AOP (Aspect Oriented Programming). read more...

add a comment |category: |Views: 25

tags: another

ListBoxes with DataBound Images in WPF(www.progware.org)

submitted by iwannisiwannis(452) 1 year, 4 months ago

In this post, we see how we can add a DataBound image in the DataTemplate of a WPF ListBox. We experiment with three different approaches of achieving that and discuss on which one to use depending on the situation. In all cases, the image files are embedded within the application as “Resource” files. Later in this post, we will see what needs to be changed in order to support having the image files in a folder outside of the application Assembly. read more...

add a comment |category: |Views: 15

tags: another

ASP.NET MVC Binding to Lists–Enumerables on POST with JQuery(www.progware.org)

submitted by iwannisiwannis(452) 1 year, 5 months ago

In this post we see how we can bind to editable enumerables-lists in an ASP.NET MVC view and get the updated values in our HttpPost action. Moreover, we see how we can use JQuery to dynamically add/remove items from the list and have our updates transferred to the HttpPost action. read more...

add a comment |category: |Views: 4

tags: another

Code Generation with T4 Templates – A must have for developers(www.progware.org)

submitted by iwannisiwannis(452) 1 year, 7 months ago

T4 Templates files have a .tt extension and are the input to VS2010’s code generation engine for automatically generating text files with all sorts of content (C# code, SQL Commands, XAML, HTML, XML etc). In this post, we will briefly see how we can create and use them and examine some very useful scenarios on situations where they may come in handy. read more...

add a comment |category: |Views: 16

tags: another

Entity Framework, the Context, ComboBoxes and Include Foreign Keys(www.progware.org)

submitted by iwannisiwannis(452) 1 year, 8 months ago

We examine when to open the Entity Framework Context in a Desktop Application, how to bind our Navigation Properties to controls on WPF and when to Include Foreign Keys in the model... read more...

add a comment |category: |Views: 14

tags: another