Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I got this question in an interview.
Why Microsoft framework has asp.net life cycle events, instead of this, we can write everything in single event. Seriously I too dont know why Microsoft have so many events? and what is the advantage of it.
Could anyone help me to understand the benefits of distributing the process among the events?
The webforms were designed to mimic desktop applications, so that it was easier for desktop developers to enter the web world.
As a part of this, an control structure representing the page was needed, plus event handling (onclick handlers and such). To support this in the web world, the page lifecycle was introduced. This enabled developers to influence things at particular stages.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Is it possible to develop applications like Facebook using .NET?
Yes, many large multinational organizations depend on the .net framework.
A lot of organizations do not publish their full tech stack however you can see this with tools like this or looking at the job adverts on the job page of stack overflow.
In addition, StackOverflow is built with .net see here
Yes.
In fact .NET isn't designed for hobbies level stuff it's designed for enterprise level feel free to use this powerful framework no matter if you're a beginner or a large company, you can always build your own solutions on top of it.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
Is it possible to raise an event in one .dll that can be handled by another? If so, what should I be looking at.
EDIT:
I think the two dlls are running in the same process - they are both add-ins to another program. I'm limited to what I can do with add-ins, hence the need to have this communication.
I thought about writing to a local file and reading it from the other dll, but how would I know when to read it.
It's called Interprocess Communication
You probably would like to look on Pipes, or look into the IpcChannel Class, which may make things even easier. I personally didn't use any of those under C# language, but what important, is an idea and technology behind, the rest is an implementation detail.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have an existing MS access application for capturing information (normal add, edit forms with drop downs and so-forth) that I'd like to redesign into a WPF C# application using a Microsoft SQL database.
My question is, is WPF the easiest / quickest solution or are there any alternatives anyone can suggest?
I have some knowledge of WPF and a good understanding of SQL databases.
Thanks
It seems that your application is data driven so as an "easy but not so far" alternative to WPF I would suggest you to have a look at Visual Studio LightSwitch. It is especially designed to quickly create data driven screens with full CRUD hosted within Silverlight (desktop) or within HTML5 (web).
Silverlight is quite dead but it will be easy for you to jump on if you are already familiar with WPF.
Have a look here: https://www.youtube.com/watch?v=oIBJrGp-kOY
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
There is a big windows application in which we also have WPF, I need to create an addin so that i can move my hige client to small addins. Problem is i need to pass commands or want to talk to other windows of the existing application from the addin. I have tried plugins which i have loaded through reflection. but how do i communicate to the other windows of the existing application?
You don't communicate with other windows directly. If you need an architecture like this, have a look at Prism for instance. And for communication between modules/add-ins you either use some sort of events (Prism has EventAggregator) or you provide interfaces in a project common to all other projects, and use dependency injection like MEF to provide modules with implementations of those interfaces. I know this is a very broead answer and you'll stil have to learn a lot, but your question is equally broad and there's just no way you can learn how to deal with large scalable applications in one-two-three. Or a couple of days/weeks.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm planning to create a VNC that can be view in browser. The inspiration for this code is Thinvnc but i would like to implement it using C# .NET . Is it possible to create such an application? what are the components that are going to use? thank you in advance ^_^
It is possible, at least for VNC. Well, I'd say it would be better to go with the java on this one. You could take one of the open source projects and extend it's functionality so it is served from the web page.
if you really want to go with C# you'll need to use silverlight.
One thing is having a page and the other component that knows how to handle vnc. Using asp/html/... won't get you far - you need to use java/silverligh - C#/flash...
Best regards,
P.