|
Deciding if you want your server error (WCF) reported to the client. If you are passing objects/lists they will be strongly typed, if you need to pass back an error object then you are passing vanilla objects.
We decided what breaks on the server stays on the server.
Error trapping in general, you do NOT want to have to touch every method and class after you decide on your strategy.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I have a requirement that, the text of the controls and other hardcoded values in the application (for eg. exception message such as user friendly message etc.) will be stored and read from database. This requirement is not mandatory,but if present, it will be good.
If provided, the user can go and edit the text whenever he wants.
So I am thinking of what is the best approach of doing this. I can just store it and retrieve from sql query or stored procedures. But, that I think is ugly way of doing it. Is there any other better approach? As I am using ASP.net 3.5 version, I don't want any performance degrade of the pages because of this process.
Could anyone please provide some suggestions or guide me toward some good articles? I searched in google but couldn't find an effective one.
Thanks
meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
meeram395 wrote: Could anyone please provide some suggestions or guide me toward some good articles? I searched in google but couldn't find an effective one.
This[^] article on MSDN might help to move all the texts to the database.
You'd still have to provide the user an edit-screen to manipulate the database-texts, and I think that changes wouldn't be visible until you restart the application.
I are Troll
|
|
|
|
|
you can store the value in a SQL Server Database table. Cache the data in application startup using ASP.NET cache engine. Make a SQL Server invalidation cache dependence over the cache, so whenever user changes the value in the table the cache gets invalidated. Repopulate the cache when there is a change in the underlying data table in SQL Server. So you are not pulling the data from SQL Serevr each time and only refresh the data in the cache whenever there is a change in the underlying data...as well as there will be no application restart requirement...a the cached data gets refreshed whenever there is a change in the underlying table....for information on SQL Server invalidation please refer the following link
http://www.wrox.com/WileyCDA/Section/Using-the-ASP-NET-2-0-SQL-Server-Cache-Dependency.id-306459.html[^]
|
|
|
|
|
In visual c++. I want to make a compiler code that search for the $ and then again search for the another $ sign and delete anything between those two $ signs and saves new file called anyname
thx
|
|
|
|
|
interesting
|
|
|
|
|
Yes seems interesting but Need Help getting it done
|
|
|
|
|
mohit`12 wrote: but Need Help getting it done
Since you did not explain where it is that you want to search, i.e. your question is rather vague, it is difficult to offer more than a vague suggestion.
Try this:
Look at each character in turn and when you find a '$' sign make a note of its position. Then continue searching for the next one until you reach the end. If you find a second '$' then remove all the characters between the two positions. Where is the difficulty?
It's time for a new signature.
|
|
|
|
|
Use a regular expression to do this. It's hardly something for this forum though, is it?
|
|
|
|
|
Any1 got suggestion for Best open source UML tool.
thx
|
|
|
|
|
For a free one, you can't go far wrong with StarUML[^].
|
|
|
|
|
|
I managed myself using StarUml and everything worked well so far. seems like that's the only one best open source tool out there in market...
but no doubt on using IBM Rational it's best in all way but it's not free
thx
cheers from canada.
|
|
|
|
|
mohit`12 wrote: no doubt on using IBM Rational it's best in all way
Dear lord no. Enterprise Architect is a much better (and friendlier) solution.
|
|
|
|
|
show computer room design with visual basic
|
|
|
|
|
Are you using this forum as a document repository? Was this the spec you were given, and you decided that you didn't have anywhere else to store it so you just had to post here?
|
|
|
|
|
show some initiative yourself, while others may or may not sleep.
|
|
|
|
|
Go straight ahead and take a left. Go straight. Take a left. Go on for a while, then take a left and go straight until you find instructions written. Follow that.
...byte till it megahertz...
|
|
|
|
|
Hi,
I need to write some C# application that make image analyzing.
I can't decide if the analyzing process (need to be in real time) i will write in C++ ( as com object dll ) or to write it as simple C# class.
someone can help me to decide ?
|
|
|
|
|
Which language do you have most experience of? It's impossible for others to make this decision without knowing your skill level.
It's time for a new signature.
|
|
|
|
|
lets say i need the same effort to do it in c++ and C#.
The question is about the speed of the .net VS speen of the native code.
|
|
|
|
|
Native code will generally be faster than .NET, but of course the actual speed will depend on how well the code is writtem. Again it is impossible to know in advance which system will be better.
It's time for a new signature.
|
|
|
|
|
I kinda get a feeling that most here are some sort of professionals I mean at least make "some kind of money out of software to which they have contributed". I think I am not wrong if I say most here also do "hobby" projects.
At work, most are "supposed" to use certain tools and procedures. And by themselves, they either are "spoilt" by practice and continue the same that they employ at work or may use their tried-n-tested methodology.
I am interested in the kinds of tools and procedures that you guys make use of during the design stages, both at work and by yourselves. Do you (prefer to) use those fancy block/cloud diagram tools, flow charting tools and the like?
Personally, I prefer paper and pencil. I draw and jot down stuff using those. Oh, an eraser is handy as well If I need a soft copy of that, I use notepad where I use bullets and indentations to organize the ideas and layout. And somehow, I am lucky to be able to use this method at work too. (I mostly develop useful, reusable, non trivial components, along with an assistant, although at times I am also involved in using them in some of our products beyond the "demo" level). And I must not fail to emphasize that I dream a lot. I mean, I imagine a lot about the component, including the code that's going to come! So, most part of it is designed in the head but I sure do comment about those both in code and design document (although I am lazy to reproduce every thought into words and diagrams but I think thats OK as of now as I am the one who's in charge of what I do and also I can brief them to the bosses, unambiguously, when needed).
...byte till it megahertz...
|
|
|
|
|
Hi Vinay, here is my basic approach:
It usually starts with
- paper and pencil
- whiteboard
- show/talk/brainstorm with available/local experts (ideally focus on understanding the "ideas/problems")
- take a walk, coffee break, music, shower.. whatever helps to be creative and get a good overview (no rules)
then continues with
- initial sketches in Editor, OpenOffice, Visio (what's available)... see next step why:
- show/talk/brainstorm with experts and stakeholders, design reviews with those who will later use it
- apply some of your processes to get something written down (ideally focus on good "alternatives")
- narrowing down... prepare to switch your brain from creative to productive mode (really hard!)
and ends with:
- finalise documentation (ideally focus on "solutions" and not on throw-away reports)
- apply processes and "get it done" to the quality needed, e.g. documentation in a special form, reviewed, approved
- present and explain to people using it (unpack your show master qualities)
- set up a follow-up meeting for feedback/improvements/retrospective (also see agile development)
Hope this helps
/M
PS: With processes I mean best practices or development processes in your work area.
|
|
|
|
|
+5 for replying.
Thats interesting. LONG but interesting. In the second stage where you have to interact with the stakeholders, how "neat and proper" will you let those sketches be? (I am not talking about the correctness)
...byte till it megahertz...
|
|
|
|