Does anyone know of a project that will allow the editing of a language (any language) within a web-page itself (via HTML-5) with content assist (ctrl+space)?
I see a lot of exampls of how to use StructureMap in a asp.net project like this:
StructureMapConfiguration.ForRequestedType<IResourceA>()
.TheDefaultIsConcreteType<ResourceB>()
.CacheBy(InstanceScope.Singleton);
Yet, in my Global.asax I can not access the StructureMapConfiguration object even when I import the StructureMap namespace. What is the deal here? Am I missing something?
Is it possible in C# to set such a condition that if the condition is true - compile one file;If condition is false - compile another file?
Sort of like
#ifdef DEBUG
#include Class1.cs
#else
#include Class2.cs
#endif
Or possibly set it up in project properties.
Hi guys,
I started to use the new ConcurrentDictionary from .Net4 yesterday to implement a simple caching for a threading project.
But I'm wondering what I have to take care of/be careful about when using it?
What have been your experiences using it?
Is there a way to force the MVC automatically generated code to follow the conventions you have set in your preferences? For example, I keep all curly braces on the same lines as their declaring class, method, etc, but when generating a controller, it completely disregards my settings. Is there a setting someplace to force the same code generation as other parts of project?
I've downloaded latest source from mono project, compiled it and everything works (c# projects, mod_mono, xsp) except vb.net.
This is on CentOS 5, on Ubuntu 10.04 I installed mono packages via apt-get and vb.net just works.
What am I missing, or how to get vb.net support?
Let's say I have a table:
Project
Id
Title
ProjectManagerId
ContactId
ProjectManagerId and ContactId are both id's from a table named Person:
Person
PersonId
Firstname
Lastname
How can I map these two columns to create a person object? (either using automapping or fluent's normal mapping).
Thanks
Hi ,
I am finding Email ids in mu project, where I am preprocessing the input using some Regular Expression.
RegExpPhone6.RegComp("[\[\{\(][ -]?[s][h][i][f][t][ -]?[+-][2][ -]?[\]\}\)]");
Here while I am compiling i am getting a warning msg like
Warning 39 warning C4129: ')' : unrecognized character escape sequence
How can i resolve this ?
Why this is occuring and Where will it affect?
Kindly help me...
For one of my applications in xcode, I have the option to build for many different versions ranging from 3.0 to 3.1.3.
Now when I make a new application, I only have the option to build this new application for 3.1.3. I can't seem to find where this project setting is.
How can I build my application for 3.0?
Thanks.
Hello,
i am working with APE Engine (http://www.ape-project.org) and up until now i had no actual problem.
The problem is that i would like to use the MySQL module and push data to a channel each time a row is inserted into a table.
I've tried to setup a server side module, i created an SQL query but data is fetched only when the server boots.
How can i make this work?
I'm starting a new Python web project. With most frameworks, everyone rushes to the latest version, however, it seems that this is not as true for Python 3.x.
Which version of Python should brand new projects use?
Guys, I wanted generate the pmd report while building the project so I have added plugin to build section of my pom.xml but still it don't execute until I explicitly call mvn clean install pmd:pmd. I want to execute it with mvn clean install itself. is it possible ? my pom entries are as under:
<build>
<plugins>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
<configuration>
<skip>false</skip>
<targetJdk>${compile.source}</targetJdk>
<rulesets>
<ruleset>./current.pmd.rules.xml</ruleset>
</rulesets>
<excludes>
<exclude>com/cm/**/*.java</exclude>
<exclude>com/sm/**/*.java</exclude>
</excludes>
<linkXref>true</linkXref>
<failOnViolation>true</failOnViolation>
<executions>
<execution>
<goals>
<goal>check</goal>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.0.1</version>
</plugin>
</plugins>
</build>
Thanks in advance.
hi,
i am facing some difficulties in creating a session. Can anyone provide me an example or link where a configuration is created by using an external file by giving url,like
Configuration config = new Configuration.configure(url);
the cinfig file is in another hibernate project.
is there anything that i should add to classpath or store the config file. My app is just getting hanged there at that statement.Help
I have learned how to create a simple website with the Zend Framework. Now suppose I want to put it on some web hosting server. In my ZF project, I have a folder named public, which I want to appear as the root of the URL. I want my site to be visible and accessible as
http://www.mysite.com
while being served from a page like /public/index.phtml or similar.
How is this done?
Recently, I checked out a copy of a project, There were multiple source files and a manual makefile based build system.
I did this
svn status
No output // meaning . is a working copy
make
// created a lot of *.o files
svn status
No change
How come this is possible? This clearly suggests there be some wildcard way to customize
the files under version control? How can I do that?s
Does anybody know of a good way to replicate Photoshop's multiply layer mode using either an image or CSS?
I'm working on a project that has thumbnails that get a color overlay when you hover over them, but the designer used a layer set to multiply and I can't figure out how to produce it on the web.
The best thing I've come up with is either using rgba or a transparent png, but even then it doesn't look right.
I have been working with the Swing library for a long time, I'm working on a new project for school and due to the nature of the program it can't look like a generic/boring swing gui. So my question is does anyone know of an interesting java gui library that is not swing or awt?
The google search ajax api is terrific, and the .net wrapper available on codeplex makes using it from a .net project very simple. However, the api itself is crippled so that it only returns 64 results per query. Not very useful for many applications.
Ignoring the likely TOS problems, are there known .net libraries that can query the root google website and scrape the results into a resultset? I'm assuming this could result in much larger result counts than the ajax version enabled.
i am doing a master project on how java applet works with web browsers.Can anyone give me details or any link that can be useful.How the web browser interacts with the java applet.
Hello.
I am trying to implement a transport layer protocol for my project. I am going to use Linux as my operating system. Could you please suggest me some books or links that explain the implementation of transport layer (like TCP)? Thank you..
Thanks,
Bala
I am just getting started in ASP.NET and have some existing projects to maintain.
I have read that ASP.NET projects include a folder called app_data, a code behind DLL, .sln project files, .proj files etc
Which of these files are necessary for the continued development of a ASP.NET website?
Also, are there others which are key to building ASP.NET applications?
I'm currently working on a Java web project (Spring) which involves heavy use of xsl transformations. The stylesheets seldom change, so they are currently cached. I was thinking of improving performance by compiling the xsl-s into class files so they wouldn't have to be interpreted on each request.
I'm new to Java, so I don't really know the ecosystem that well. What's the best way of doing this (libraries, methods etc.)?
Thanks,
Alex
hi,
I came accross something very strange when i was testing my pages in FireFox.
The Adsense blocks are commented out (green) in firefox.
It does render however properly when i paste all the rendered code in a blank aspx page in the same project without using masterpage.
http://picpaste.com/problem.jpg
Here's a picture of the problem. As you can see on one of the pages the script code is green. How is that possible?
Dear all, i want to convert my pixel into to the point size, in my project when user resize the text image, then it should be re size according to width using point size??
any one have any idea?
i am using partial view for my project but my problem is that my links are on right side of masterpage and when i clicked on particular link the view should displayed on left side on contentplace holder of master page. but right now its showing exactly below so my whole disgne is distrubed. so please if anyone know the solution tell me.
thanks