Preface I know, the concept of app.config files is not part of Windows Store App development. The docs and postings say that one should use local or roaming settings. But I needed something to pass environment depending initial data to the app. One scenario I can think of is the …
Tag: .NET
Update: Microsoft Advertising Services Test Mode Sample for Windows 8 Version 3.0
Microsoft has updated the list of possible advertising test modes. So I updated the Test Mode Sample as well. You can find the latest version in this post.
Microsoft Advertising Services Test Mode Sample for Windows 8
Microsoft offers a very simple way to show advertising in Windows Store apps. A starting point is adsinapps.microsoft.com. The Microsoft Advertising SDK for Windows 8 can be found here: msdn.microsoft.com/en-us/library/hh506371%28v=msads.10%29.aspx. The SDK docs lead you to a document, listing all the possible advertising test modes with their appropriate test values: …
Continue reading “Microsoft Advertising Services Test Mode Sample for Windows 8”
Using Membership and Authorization in ASP.NET MVC 4
With the introduction of .NET 4.5 and MVC 4, some changes to Membership and Authorization came along. To keep this posting as short as possible, I will just list the findings and refer to some postings I read. 1. Web Site Administration Tool is gone, and there is no replacement …
Continue reading “Using Membership and Authorization in ASP.NET MVC 4”
Windows Store App .NET Framework Subset
I’ve learned it when I created Silverlight apps – so why am I so surprised when playing around with Windows Store apps? The .NET framework for Windows Store apps only ‘provides a subset of managed types‘. This subset officially is called ‘.NET for Windows Store apps’. For details, please refer …
Telerik RagGridView – Where Are My Cells Gone?
My latest application required a RadGridView having a dynamic number of columns. And therefor, the binding of the data an event handler needed to by managed during runtime as well. Not really in issue: handle the RowLoaded event, iterate over the cells of the row passed by the event arguments, …
Continue reading “Telerik RagGridView – Where Are My Cells Gone?”
Silverlight, Telerik GridView, Dynamically Created Loaded Handler & Performance
I like Silverlight, Telerik’s GridView control and the ability to create the columns of a grid dynamically. Recently, I had to build up a grid during runtime. The number of columns and the header text is unknown at design time (read it from the database), but nothing to worry about. …
Continue reading “Silverlight, Telerik GridView, Dynamically Created Loaded Handler & Performance”
Limitations of Private Accessors and Generic Methods (JIT Compiler Encountered an Internal Limitation)
Private accessors are really helpful for extensive unit testing. But they do have their limitations. I wrote a generic protected method having a declaration like this: protected ReturnType MyMethod<T>(OneClass, DateTime, DateTime, Func<OtherClass, T>, out List<T>); Calling this method via an accessor in my unit test, I ran into an exception …
Silverlight Printing and Inheritance of Language Settings
From what I learned, printing in Silverlight (4) is straight forward: Create a control and print it. I used this pattern in a Silverlight application I built. Because I had to implement some multipage- and list handling, I created user controls that I added into a stack panel of the …
Continue reading “Silverlight Printing and Inheritance of Language Settings”
Generic UserControl Base Class in Silverlight
Having generics in .NET is a great thing. I already loved template classes in C++, missed them in .NET 1.x, and was happy to get a (little bit restricted) kind of templates in .NET 2.0. Building a Silverlight application, I felt the need to create a generic UserControl base class. …
Continue reading “Generic UserControl Base Class in Silverlight”