Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Dean Oliver

@Dean Oliver
About
Posts
26
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Bind Multi dimension array with datagrid
    D Dean Oliver

    http://stackoverflow.com/questions/436731/can-i-bind-multidimensional-data-to-a-datagridview-in-c-sharp-and-net[^]

    C# data-structures question

  • Insert Duplicate into Hashset
    D Dean Oliver

    Check this url to help decipher when to use what collection class. http://geekswithblogs.net/BlackRabbitCoder/archive/2011/06/16/c.net-fundamentals-choosing-the-right-collection-class.aspx[^]

    C# question

  • Problem with Entity Data Model's connectionstring - WPF
    D Dean Oliver

    in this statement.

    connection string=;"Data Source=.\\SQLEXPRESS

    remove the ";".

    connection string="Data Source=.\\SQLEXPRESS

    To build a correct connection string look at this link. connection string="Data Source=.\\SQLEXPRESS[^]

    WPF help csharp wpf security

  • Need Help Setting <img> src attribute
    D Dean Oliver

    Please vote if you found my answer useful. thanks :)

    JavaScript javascript html data-structures testing beta-testing

  • Need Help Setting <img> src attribute
    D Dean Oliver

    Hi you can either do it the standard way as it is shown in this article http://reference.sitepoint.com/javascript/Element/setAttribute[^] Or I suggest you rather use the jquery api. it's alot easier for manipulating tags etc; It'll make your life far easier. http://api.jquery.com/attr/[^] Here's an excellent beginner's guide. http://www.shopdev.co.uk/blog/jquery-from-scratch-a-beginners-guide/[^] Hope this all helps.

    JavaScript javascript html data-structures testing beta-testing

  • Play DVD and cut a Video in WPF
    D Dean Oliver

    take a look at these links. Mahhala - WPF MediaKit[^] http://stackoverflow.com/questions/1321819/mediaelement-support-in-wpf[^] Hope this helps

    C# csharp wpf tutorial question

  • Best way to implement Rich Client Application
    D Dean Oliver

    Your best bet would be to use Ajax. jquery has a very good api for this. http://api.jquery.com/category/ajax/[^]

    ASP.NET csharp tools java asp-net json

  • media player library
    D Dean Oliver

    take a look at these articles below http://www.nerdparadise.com/tech/csharp/mediaplayerreplace/1/[^] Custom Media Player in WPF (Part 1)[^] http://computer-programming-languages.factoidz.com/creating-your-own-custom-wpf-media-player-exploring-the-hard-disk/[^] For help creating a media library check out this link Sonic: A WPF (hybrid smart client) searchable media library[^] check out the filesystemwatcher as well for detecting changes in your library etc: Advanced FileSystemWatcher[^] Hope this helps you with some ideas :)

    C# question csharp wpf help

  • MVVM Blues...
    D Dean Oliver

    A light MVVM framework called Galasoft

        xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
    

    http://mvvmlight.codeplex.com/[^]

    WPF wpf csharp regex architecture question

  • MVVM Blues...
    D Dean Oliver

    You just said it yourself separation of concerns. If your code is in the code behind how is it a separation of concerns than. Thus it is counter productive to what you trying to achieve out of the pattern. Yes I agree to an extent that you shouldn't ever follow a pattern completely and only see it as a guideline. However what you were trying to achieve can be done without hooking up an event and finding the selected item. Like I've said previously you can do what you were trying to do in a far cleaner way. As far as initializing the ViewModel for the DataContext. Well that can also be done in xaml. There are many ways to skin a cat remember that. The key is to find the most flexible solution when testing and going forward. The question I ask is what if you want to change your viewModel? you have to go into the code behind and instantiate another object. Why don't you rather use a IOC container in this scenario. So you can have a more decoupled soltuion. ;)

    WPF wpf csharp regex architecture question

  • Session expire
    D Dean Oliver

    Hi these links should give you a better idea of how the session state works etc. Hope this helps you to identify your problem. http://justgeeks.blogspot.com/2008/07/aspnet-session-timeouts.html[^] http://www.hanselman.com/blog/TroubleshootingExpiredASPNETSessionStateAndYourOptions.aspx[^] http://msdn.microsoft.com/en-us/library/ms972429.aspx[^] The last link will help you configure your session correctly.

    ASP.NET

  • populate dictionary from the intersection of two list collections
    D Dean Oliver

    Hi could you please supply the source code of the collections. thanks

    LINQ tutorial

  • MVVM Blues...
    D Dean Oliver

    The whole point of MVVM is not to have code in your code behind. You want your view abstracted from the business logic as well as the data it is bound to. This approach of directly calling an event in the code behind, tightly couples everything. To conform more with mvvm, rather re-route the event through a command.

    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"

    You will need to download: System.Windows.Interactivity.dll for the expression blend sdk. To use this functionality. I do believe that design patterns should only be used as a guideline for better development. not to be followed so strictly. But in this instance there is a better more mvvm type of solution. To what you suggesting with eventing.

    WPF wpf csharp regex architecture question

  • error SocketError.AccessDenied on silverlight
    D Dean Oliver

    Try this link out, http://drdobbs.com/windows/208403238[^] and for a nice simple framework to help with implementing sockets: http://www.silverlightshow.net/items/SocketsLight-Silverlight-Sockets-Framework.aspx[^]

    WPF help

  • silverlight
    D Dean Oliver

    Hi check out this link. hope it solves your problem. http://drdobbs.com/windows/208403238[^]

    WPF help

  • Writing source code in seperate files
    D Dean Oliver

    If you referring to writing classes with an extensive amount of code. Then I'd suggest you use the "partial" key word. That way you can spread your class over separate files. In each file you just call the full declaration of the class but with the partial key word. Eg;

    public partial class Employee
    {
    public void DoWork()
    {
    }
    }

    public partial class Employee
    {
    public void GoToLunch()
    {
    }
    }

    http://msdn.microsoft.com/en-us/library/wa80x488%28v=vs.80%29.aspx[^]

    C#

  • connectionstring
    D Dean Oliver

    Hi could you please supply the code. where you are directly calling the other project. because somewhere you are not initializing or opening the connection or that connectionstring from the app.config is not in your web.config in project 3. And the only way I can diagnose the problem. Is to see what you are doing else it's all based on assumptions on my part. thanks

    WPF csharp database question sql-server wcf

  • MVVM architecture
    D Dean Oliver

    At best you should try to avoid writing code in your views code-behind. Remember MVVM is all about rendering data through binding. So you should avoid using x:code. You must to see a view as a template for displaying your data. Not for any business logic. leave xaml for xaml. If you want to add specific logic for your view do it in your viewModel rather.

    WPF architecture wpf tutorial question

  • help with array of buttons
    D Dean Oliver

    I agree with your statement. This was a rough general idea so he could get started. Not a final solution. Please bare that in mind. Thanks though.

    C# tutorial csharp data-structures help

  • MVVM Blues...
    D Dean Oliver

    I feel the same way. It seems as though most of my time is spent on the architecture and implementing the pattern correctly. Then the actual core functionality of the application. But then again once all that is set up. Your life is made easier with unit testing etc.

    WPF wpf csharp regex architecture question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups