I'm currently studying UML....
Actualy need a simple example that start using UML for analysis and design it and then based on them start developing it by using .net.
Do you know any downloadable tutorial package which has analysis and design documentations beside its .net code?
...
Hi,
I've recently taken over a MVVM project started by someone who's now left the company; It's my first time using WPF, but by the looks of it, it was his first time using both WPF and OOP...
Anyway, I've got a ListView in the XAML, and I've got a collection class which doesn't currently contain a "SelectedItem" property.
Can someon...
I have read .NET Framework Microsoft training course but still confused with the real understanding what Isolated Storage is. Could anyone give me any real life examples, where it is used?
...
Since it's possible using the IsNumeric() and others VB.NET functions from IronPython by importing Microsoft.VisualBasic and using it as an object method, is it possible somehow to use the Year() VB.NET function from IronPython?
...
Does the read method just position itself to next record? or it actually reads the record?
lets say i call read 1000 times, does it actually get all values of that each records? or its when I call GetValue?
...
Hello,
I am trying to convert a string of this format:
MM/dd/yyyy HH:mm
The input is from a US database, so, i.e.:
09/20/2010 14:30
I know that my string is always US time but when I display it, I need to translate that into the local time, so that string should be turned into:
09/20/2010 19:30 (for UK for instance)
I tried a few...
I'm trying to build an e-commerce site. Which technology should I use for the Data Access Layer? What are the pros and cons of each?
I plan on using Silverlight for the Intro and Catalog.
Thanks!
...
Possible Duplicates:
Lambda Expression using Foreach Clause
Why is there not a ForEach extension method on the IEnumerable interface?
This seems pretty basic. I'm trying to iterate over each object of an IEnumerable. It appears that I would have to cast it to a list first. Is that right? It seems to me there should be an ext...
I'm trying to refactor some slow running code which writes XML using nested loops of several datatables. I read that using linq to write the xml would be faster. I'm not well versed in linq, so I was hoping to get some help here.
Some things I need to mention is that the current architecture uses a webservice which returns data to us in...
When I do this:
var m = Regex.Match("aabbccddeeff", "[0-9a-fA-F]{6}");
I get only aabbcc as result. Actually (using .Matches) there're two matches: aabbcc and ddeeff.
Why? This causes issues with DataAnnotations.RegularExpressionAttribute because it expects single match that covers whole input value.
How do I write this properly to ...
I spent a good part of yesterday reading up on the subject and still feel like I am uncertain which way to go. I come from a "roll your own" background when it comes to authentication and authorization. We never used Forms authentication, let alone the Membership API. Looking at our old code we would use session variables to capture/c...
Hello.
I am attempting to have a Pie chart using the ASP.Net Charting controls. Everything's fine. The X value is the name of a specific item with the Y value the amount. The Legend is displaying the X value, the size of the slices of the pie are correspond to the Y value. All is well.
However I also have the value, as a label, atta...
I have the following code:
using System.Configuration;
namespace test
{
public partial class MyService : ServiceBase
{
public static ReadConnectionStrings()
{
ConnectionStringSettingsCollection connections =
ConfigurationManager.ConnectionStrings;
However, it doesn’t recognise Conf...
Hi folks,
I am generating a PDF file which is 5 pages and all the data are coming from Sqlserver. The PDF contains lot of images,watermark and the number sections has to controled dynamically based on database data. What is the best way to generate PDF.i am debating with Crystal report,MSRS[sometimes it requires Activex installation,wh...
I am trying to get the value of local path by doing the following:
Dim bar As WebProxy = WebProxy.GetDefaultProxy
Dim scriptEngine = bar.GetType().GetProperty("ScriptEngine", Reflection.BindingFlags.NonPublic Or Reflection.BindingFlags.Instance)
Dim acs As PropertyInfo = scriptEngine.PropertyType().GetProperty("AutomaticConfigurat...
I have an Office Communication Server 2007 R2 installed, and with a static rule to reroute all the messages with a specific domain to my UCMA application.
What I am trying to do is to receive the SUBSCRIBE messages in my UCMA application and handle them. However, the messages are rejected by the API with 500 Internal Server Error before...
I'm trying to do some unit testing on a project that unfortunately has high level of unit interdependence. Currently, a lot of our classes look to a custom UserIdentity object to determine authentication, but that object has a lot of internal hoop-jumping that I would just as soon avoid when trying to test individual unit functionality...
I'm looking for a non-trivial example of MVC/MVP implemented in Winforms (C# .NET). I searched the website but getting only trivial examples, a little more would be helpful.
I'm Particularly looking at ways to implement views (view for a master-child model) and controllers/presenters.
...
I have a MethodCallExpression object from which I'm trying to return a IObservable<Thing> instance using the Reactive Extensions framework.
private IObservable<Thing> GetThing(Expression<Func<Thing>> expression)
{
Func<Thing> method = expression.Compile()
var observable = Observable.FromAsyncPattern<Thing>(method.BeginInvoke, meth...
Hi,
I'm attempting to learn WPF by unravelling a frankly nightmarish project written by the guy who was in this job before me. Sorry if some of my questions are pretty much homework-level but I'm trying to work out what existing XAML does, with an insufficient understanding of the concepts behind it...
Anyway, I have a ListView with th...