Is there a way to change the target framework of all the projects of a solution in one fell swoop? Changing the target on 18 projects is a little tedious.
I did ask whether this was possible in 2008 which was answered in http://stackoverflow.com/questions/1296840/read-and-step-into-net-framework-source-code.
However my problem is that I am using 2005 and not 2008.
Does anyone know whether this is possible please??
The reason I want to do this is to better understand C# paradigms.
With Java this is possible and I learnt a tremendous amount by being able to read code written by engineers
What is faster / better to use?
To put html into variables and print them later, or to just html print / echo print the content based on condition?
EXAMPLE 1:(html into variables)
if(!isset($_SESSION['daddy'])) {
$var = "<span class='something'>Go here:<a href='#'>Click</a></span>
<span class='something'>Go here:<a href='#'>Click</a></span>"
} else {
$one=$_SESSION["one"];
$two=$_SESSION["two"];
$three=$_SESSION["three"];
$var = You are cool enough to view the content;
}
echo $var;
EXAMPLE 2:(print based on condition)
if(!isset($_SESSION['daddy'])) {
$var = 1;
} else {
$one=$_SESSION["one"];
$two=$_SESSION["two"];
$three=$_SESSION["three"];
$var = 0;
}
if ($var==1) {
?>
<span class='something'>Go here:<a href='#'>Click</a></span>
<span class='something'>Go here:<a href='#'>Click</a></span
<?php
} else {
?>
You are cool enough to view the content.
<?php
}
?>
I'm looking for logging framework for C++ project.
My best shoot was log4cxx, but it seems that it's abandoned project, with development stopped ~4 years ago, with only one update in last 4-5 years.
Anything better that log4cxx?
(log4c & log4cpp are also totally out-of-date)...
Has anybody used the ATK Framework? It is claimed to be geared toward developing apps for business use. Manipulating data, knowledge bases, etc... This is what I primarily develop (on the side-for my own use). The site hasn't given me a great overview of why it may be better than other frameworks.
What are your thoughts / experiences with this product?
The question I always wanted to ask and was afraid to, actually - what language is .NET Framework written in? I mean library itself.
It seems to me that it was C and C++ mostly. (I hope Jon Skeet is reading this one, it`ll be very interesting to hear what he thinks about it)
Is it possible to develop Web Parts using the 4.0 framework and use them in WSS 3.0? I've searched all over the place and can't find anyone else asking this question which makes me think the answer is an obvious "no".
Hello everyone, I am trying to figure out the best way of getting the record and update in to gridview using ado.net entity framework in C#. I need implement Next & Previous button in gridview and based on pagesize i want to navigate records using Next&Back button. Any one give simple example for this context.
Does anyone know of any node.js style webserver framework for java?
I realized that having nonblocking callback behavior while handling a web request will require deep support at the webserver level. I am interested in node.js, but when I have a web server that ends up persisting data, I would like to take advantage of the static type system that Java offers. However, I want the scalability of non-blocking io.
Hi all ,
I have to send a mail from the struts2 application using the Spring Framework email library how can i do that
any help can be appreciated ..
Thanks
Is it me or is the documentation for the argotic framework API impossible to find..?
The source is available so surely the documented API should be ..
Anybody know where this is?
Thanks alot,
Hi Folks,
has anybody managed to get Djangos site map framework to run on Google App Engine?
I receive the following exception:
ImproperlyConfigured at /sitemap.xml
You haven't set the DATABASE_ENGINE setting yet.
Request Method: GET
Request URL: http://127.0.0.1:8080/sitemap.xml
Exception Type: ImproperlyConfigured
Exception Value: You haven't set the DATABASE_ENGINE setting yet.
Exception Location: D:\Program Files\Google\google_appengine\lib\django\django\db\backends\dummy\base.py in complain, line 13
I need a language and web framework that is really easy to use, that only has 12 or so commands, that is in one language all the way through (front/middle/back) and takes 15 minutes to master. Something like this:
10 CreateWEBFormAndCreateRequiredDBTablesAndSaveToDatabase("First Name", "Last Name")
20 CreateWEBPageThankingUser()
30 MakeAllWEBPagesPrettyByExaminingWebSitesOnTheInterWebAndMakingADecision()
40 GOTO 10
Oh, and it has to be written in C#
Hello,
does anyone know how to load contents of a file into a multilined TextBox in net 2.0 compact framework and, after editing save it back to a file (the same or with changed name)?
I'm a newbee in C# programming :(
Greetings
Is there any good framework for comparing whole objects?
now i do
assertEquals("[email protected]", obj.email);
assertEquals("5", obj.shop);
if bad email is returned i never get to know if it had the right shop, i would like to get a list of incorrect fields.
Say you see a loop like this one:
for(int i=0;
i<thing.getParent().getObjectModel().getElements(SOME_TYPE).count();
++i)
{
thing.getData().insert(
thing.GetData().Count(),
thing.getParent().getObjectModel().getElements(SOME_TYPE)[i].getName()
);
}
if this was Java I'd probably not think twice. But in performance-critical sections of C++, it makes me want to tinker with it... however I don't know if the compiler is smart enough to make it futile.
This is a made up example but all it's doing is inserting strings into a container. Please don't assume any of these are STL types, think in general terms about the following:
Is having a messy condition in the for loop going to get evaluated each time, or only once?
If those get methods are simply returning references to member variables on the objects, will they be inlined away?
Would you expect custom [] operators to get optimized at all?
In other words is it worth the time (in performance only, not readability) to convert it to something like:
ElementContainer &source =
thing.getParent().getObjectModel().getElements(SOME_TYPE);
int num = source.count();
Store &destination = thing.getData();
for(int i=0;i<num;++i)
{
destination.insert(thing.GetData().Count(), source[i].getName();
}
Remember, this is a tight loop, called millions of times a second. What I wonder is if all this will shave a couple of cycles per loop or something more substantial?
Yes I know the quote about "premature optimisation". And I know that profiling is important. But this is a more general question about modern compilers, Visual Studio in particular.
Related:
http://stackoverflow.com/questions/24853/c-what-is-the-difference-between-i-and-i
In C language, Why does n++ execute faster than n=n+1?
(int n=...; n++;)
(int n=...; n=n+1;)
Our instructor asked that question in today's class. (this is not homework)
I'm trying to run the unit tests from the gflags project, and I'd like
to know how to run them and what unit testing framework it is using to
do this.
I'm using Visual Studio 2005.
Art of Test produced a nice UI testing tool for free -- WebAii Framework-- that I've been using to add client-side DOM unit tests to my projects. Recently they merged with Telerik and it's now a commercial product. From free to $1500 is suddenly very expensive. Does anybody know if the community edition is still available, or even the last free version is available for download? At least I can finish off with that.
Hello,
How can I call Synchronize method on an agent but only when connection to remote db
exists?
I'm very new to sync framework so forgive me my ignorance.
Thanks in advance :)
I'm sort of new to Perl and I'm wondering if there a prefered unit testing framework?
Google is showing me some nice results, but since I'm new to this, I don't know if there is a clear preference within the community.
Hi I'm able to successfully integrate iphone app with facebook framework.
But I need small change to be done.
Please see the URL "http://beanstalkcreative.com/screenshots/Facebook_|_Sample_Sampleson-20100407-122254.jpg", if you see the image in above URL, it shows "via MMA_app". I want to change this text to some other name. How can I do this?
hello
I am working on writing an web application which will be monitoring an java process which moves files from one location to another. The monitoring application needs to do following things
Monitor log files
View the content of moved files
Is there any opensource framework which provides monitoring capabilities over logging.
I am building this application in java.
Thanks