It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have some source code in C# that lies in a number of folders.
I need to understand this code as it wasn't written by me. Not only that, I want to learn how enterprise applications are coded. The best way to do that is if I have a graphical representation of classes, inheritance etc. I should be able to see the source code in multiple layers: e.g how classes relate to each other, how properties/methods in these classes relate and call each other, etc. I've heard of enterprise architecture and checked it out, but I don't understand what I've read.
Can anyone suggest something else?
Have you looked at NDepend? It can show you all the dependencies withing the code - eg through graphs;
http://www.ndepend.com
Simply use Microsoft Debug Canvas to get acquainted with the solution.
If you are using Visual Studio right click on project and choose "View Class Diagram".
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
After learning about state machines, I want to place it in every class of my code. That's a great pleasure for me to declaratively (or "fluently") construct a machine, handle events and be sure that any logic violation will throw an exception.
Can you please critisize me on this practice? Or, may be, you install Stateless package habitually for each project (like I do)?
Any examples of state machines overusing?
Whilst design-patterns are very good practice, you should be cutting code to solve a particular problem that potentially will use a design-pattern to solve that problem in a tried-and-tested manner.
We do not write code from a "let's use this design-pattern" perspective because a single design-pattern is not a one-size fits all solution!
Do not write all your code around the state machine idiom. It will make many simple tasks over-complicated and difficult to maintain.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
what c# project must i choose in order to create an instant messaging application in visual studio.
pls help.
Thanks. :)
You have to plan a lot of different things during application design process. The main project anyway, of course, should be a windows form application or a WPF... then, eventually some libraries.
This question is far too common and will be closed soon.
But to give you some suggestions for directions you can go next:
Design you overall architecture first
Are there technical restrictions for the UI?
You have basically following options: Console App, WPF, WinForms, Silverlight, ASP
Since you said in a comment that the app should be a web app, maybe you want create an ASP.Net application.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I created an item template that generates a .CS file and adds it to the project. I want to create a DESIGNER that is shown everytime the user tries to open this .CS file from the Solution Explorer, just like XX.EDMX and XX.Dsigner.cs
?
Any ideas?
Thanks!!
The short answer is given in the VSSDK reference (on MSDN) page on Designer Initialization and Metadata Configuration page (all keywords are linked on the page itself):
A VSPackage should handle designer initialization by:
Creating an object implementing the DesignSurfaceExtension class.
Register the class implementing DesignSurfaceExtension as providing support for the VSPackage's designer extensions by applying instances of DesignSurfaceExtensionAttribute, ProvideObjectAttribute and ProvideServiceAttribute to the class providing the VSPackage's implementation of Package.
Unfortunately the long answer is going to be extremely long, and in the absence of genuinely good documentation, involve a lot of trial and error. A quick search didn't show any complete examples, so if you're willing/able to, it'd be great if you could share what you figure out.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
i want the ability to create a UI designer (Winforms/WPF/UI/User interface type agnostic).
The requirment is that it should be possible to add properties to a device and it should automatically turn up in the UI.The addition of properties would be via a admin screen.
eg. there is a UI object called Order.It should be possible to add a property called ordersoomething to the order object from the admin screen and it should automatically reflect in the User interface.
i am looking for something that is already available (Open Source/existing stuff etc).
Edit based on a couple if comments.
What i mean by UI agnostic is that i am looking for a architectural pattern. That would fit well.it should not matter if it is Webforms or Silverlight or Winforms.
Regards
David Xavier
Since you tagged this C#, make sure you know about VS LightSwitch
There is a DevExpress Application Frameowrk, something called XAF, see the Developer Express website, it's not for free but not too expensive considering what you are asking, I am not sure if it only targets WindowForms...
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I have a .net project and I am not a .net developer but I want to learn as I go through the process. I have been given a folder with some C# files and folders like bin etc. I heard that the project was developed in .net 2005. I try to open it in .net 2010 and it asks me to convert it. I converted it but I am not sure what to do next. The syntax doesnt have any colors or anything. Any help will be appreciated. thanks!
I'd start here: http://msdn.microsoft.com/en-us/beginner/default.aspx
There are so many resources out there to learn a huge amount of information, but this site was created specifically for beginning .NET developers, and it is done well.
My boy was able to start developing at 8 years old with little help from me, by going to the Kids section, so it's a nice gentle introduction.
Try here. That is the msdn links for the basic tutorials for beginners. Also the documentation in MSDN is really complete for reference and also in case you need to clarify concepts you don't understand.