|
Hi everybody,
(First, sorry if my english is not very good)
I have a small problem : I've created an WorkflowDesigner for my application with a custom Activity and a custom ActivityDesigner.
Until now, non problem, but if I want to put my custom Activity and custom ActivityDesigner, the WorkflowDesigner shows "Unable to generate the display for MyActivity1" (and before, when my custom activity and activitydesigner was in my application, it ran).
Can you help me please?
If it lacks information, please ask =)
Thanks
|
|
|
|
|
In early days VC++ and MFC was famous because they was fast and mostly come with all dependency prepacked with exe. So executing one exe will work fine. But after the evolution of .NET, .net exe require dotnet framework so it should be there at client side.
So can we create an exe using C# (not asking about VC++.NET) in dot net which will not require dot net framework at client-side?
|
|
|
|
|
rahul.kulshreshtha wrote: So can we create an exe using C# (not asking about VC++.NET) in dot net which will not require dot net framework at client-side?
IMO, you cannot. At least, I have never heard of anyone running an exe without the framework.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
There are some commercial packages that support this, yes. They are expensive, and the resulting EXE would be huge. The problem isn't C#, the problem is the Framework's classes.
|
|
|
|
|
Thanks Luc,
exctly what I wanted. Obviously exe size will be large because exe will be packed with all dependencies and required classes. .NET framework is really a huge library. Sometimes we require only few classes from there but we have to depend on a large framework at client side and mostly clients get confuse with framework stuff.
Can you suggest any name from those commercial packages?
|
|
|
|
|
Nope. I'd Google.
BTW: modern Windows editions (Vista+) have most .NET versions pre-installed, so the problem is getting smaller all the time.
|
|
|
|
|
Luc your signature link "Why QA sucks" is not working
|
|
|
|
|
Ok it's working if I click from inside the codeproject forum. I had clicked from my GMail account (from inside GMAIL notification mail)
|
|
|
|
|
I know my CP messages don't look and work the way they should inside the e-mail notification, it is due to the 500 character limitation imposed on signatures. I had to tweak things quite a bit to make them fit at all.
|
|
|
|
|
Hi all,
I am using Microsoft Visual Studio .NET 2003 with C# and asp.net 1.1 version.
i can't access a function inside a ascx.cs page from a aspx.cs page.
i registered the user control in my .aspx page and create an instance of this in my .aspx page.
but i can't access the functions declared as public in ascx.cs from aspx.cs by using the 'id' of that particular user control.
if anyone can, please help me.
thanks in advance...
|
|
|
|
|
firstly erm why 1.1? secondly have you made a property in the code yourself using get set values (in the controls class)? if i remember rightly that should do it.
Three types of people in this world, those that can count and those that can't
www.casserlyprogramming.com
|
|
|
|
|
I usually find that the most obvious solutions are the right ones...
I know that this may be obvious, but we all need to reminded of the "easy" fixes sometimes.
Check your code for the following:
1) If you're registered correctly and the control renders when you debug, then you've done that correctly.
2) Make sure the control definition in the .cs file is using the correct class definition.
3) The methods you want to access... Ensure they are public and not protected or private.
|
|
|
|
|
i am developing a web site in asp.net but i dont khow how to use and implement three tire architecture so please give me guidline.
deepak
|
|
|
|
|
Strictly speaking, you want to be looking at n-tier architecture because you may not end up limiting yourself to 3 physical tiers. If you want to implement a multi-tier system, then I would recommend reading up on the subject first - possibly starting with Rocky Lhotka's excellent work on CSLA.
|
|
|
|
|
Rocky's Website[^].
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else...
-"The conversations he was having with himself were becoming ominous."-.. On the radio...
|
|
|
|
|
Shouldn't you post this where the OP gets notified of it?
|
|
|
|
|
I'm a big fan of structured data...
ohh and Rocky is in the office today...
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else...
-"The conversations he was having with himself were becoming ominous."-.. On the radio...
modified on Thursday, October 7, 2010 12:10 PM
|
|
|
|
|
Well, that's good. I'm still not the OP.
|
|
|
|
|
|
See here[^].
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
Visit the Hindi forum here.
|
|
|
|
|
So, first you create an empty solution. Then you add three projects into it. The first one is ASP.NET applcation which will be your PL (Presentation Level) and two class library for DAL and BLL. In DAL you will add LINQ to SQL class as one of possible way to map your database. Will create for every entity the class with the name YourEntityData to implement CRUD methods. Also you can add CustomizedEntites.cs file to extend your LINQ entities. In BLL you'll develop your business objects. As a rule every class includes MapToCustomProperties(Entity entity) for DAL->BLL mapping, MapToEntity() for BLL->DAL mapping and Load() to load information for object from DB. Often in the same file i create and write collection class for this object. F.e. ProductBLL and ProductBLLList:List<productbll>. In your PL tier you are working just with BLL tier and so on...
|
|
|
|
|
That's a popular subject right now; you've picked a good year to ask this question. Take each reply with a grain of salt, and remember that a good design should not affect the Big O performance of your application.
|
|
|
|
|
There is a new book from Wrox called ASP.NET Design Patterns[^] that covers this pretty well. Here is an excerpt from the TOC:
Part 2: The Anatomy of an ASP.NET Application: Learning and Applying Patterns
3. Layering Your Application
4. Business Logic Layer: Organisation
5. Business Logic Layer: Patterns
6. Service Layer
7. Data Access Layer
8. Presentation Layer
9. User Experience Layer
Part 3 even includes a case study.
We live in a world operated by science and technology. We have also arranged things so that almost no one understands science and technology. This is a prescription for disaster. We might get away with it for a while, but sooner or later this combustible mixture of ignorance and power is going to blow up in our faces.
--Carl Sagan
|
|
|
|
|
Rock'y approach has been received very well in the community.
He has a number of books, and video's available on http://www.lhotka.net/[^].
-- for Pete
I'd blame it on the Brain farts.. But let's be honest, it really is more like a Methane factory between my ears some days then it is anything else...
-"The conversations he was having with himself were becoming ominous."-.. On the radio...
|
|
|
|
|
And Pete says "sorted".
|
|
|
|