C# - MonoDevelop Seems To Hang (not Unresponsive) When Building Csprojs
Mar 7, 2011
I'm hoping someone else has experienced this and has some suggestions. The actual dcms process goes pretty quickly, but in between projects it hangs after printing: Building: XXX.YYY.ZZZ (Debug) After a few minutes (been 10 so far on this current run), it jumps to:
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/2.10.1/bin/dmcs /noconfig "/...
Build complete -- 0 errors, 0 warnings
Building: XXX.YYY.ZZZ (Debug)
Then hangs again for another few minutes. This is a sln file with 29 csproj projects in it that was originally created in Visual Studio 2010. I'm wondering if there is a better way to set this up - potentially a native MD file format?
View 1 Replies
Similar Messages:
Oct 31, 2010
I cannot open an existing website in MonoDevelop. I have tried various options with no success. Is there any way to do this?
Visual Studio has this and it works very well, but I'd like to try out MonoDevelop for my current project.
View 1 Replies
Nov 2, 2010
I've tried to debug sample ASP.NET and ASP.NET MVC applications in MonoDevelop 2.4 (on Mono 2.8 on Windows 7) but breakpoints doesn't work.If debugging MVC Application MonoDevelop prints the following into the output:
Mono.Debugger.Soft.VMDisconnectedException: An exception of type "Mono.Debugger.Soft.VMDisconnectedException" thrown.
at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
at Mono.Debugger.Soft.Connection.Type_GetInfo(Int64 id)
[code]...
View 2 Replies
Oct 23, 2010
I installed monodevelop, and so far everything is working fine.I was just wondering if you had any tips or must dos for any person who is using monodevelop for c# / asp.net programming Feel free to recommend open or closed source tools that are useful with mono develop Settings I should change / modify to get a better coding experience?
View 2 Replies
Nov 25, 2010
I have added an autocompleteextender control to my page; this works fine on my development machine, and also on our test website (non-secure).When i deploy this to our secure web site, when trying to use the control, it brings up a message
'A script on this page is causing your browser to run slowely'.
The web method is within the page code-behind instead of a webservice.
View 2 Replies
Apr 28, 2010
My web application functions as expected when using non-compiled web pages. When I used a Web Deployment Project to build my solution (creating a separate assembly for each page and control output), the web application does not function (e.g.: pushing a button does not result in any action).
View 3 Replies
Apr 23, 2010
We have a html page being rendered in the browser (IE) that causes the browser to hang. The page is generated through server side script (ASP.NET and viewstate is disabled). The page while loading takes a long time (its not a bw issue since we can reproduce it on local machine) and sometimes results in script unresponsive error. On debugging the issue we found that the html size on the client side is 4.73 MB. There's also a lot of DOM traversal (using JQuery) after document is ready (jquery-document.ready). After loading as well, the page simply hangs on any user interaction (scroll, mouseover) etc. A CPU usage spike (25-50% usage) is seen during loading and on any user interaction
View 4 Replies
Jun 26, 2010
I've used mvc for a few weeks now, and just realized that my controller constructor is invoked on every action, and that's where a model is typically instantiated in the examples I've seen, so the model never lives beyond one request. I have older third party db and it seems that some judicious in-memory state management would make sense in my intra-net app. It seems like a true classic mvc app ( non-web oriented) would allow for retention of model instances in-memory (one fundamental repository behavior is in-memory collection - re: M.Fowler). I am not able to use Entity Framework, and a little curious if it does some caching instead of always immediately persisting to db, thereby providing that repository behavior. Do I have to save my model instance to the ole Session / TempData object to retain it in memory across *numerous* controller actions? Or does this implementation absolutely require some other mechanism like NHibernate? Seems like just keeping something
View 1 Replies
Apr 30, 2010
I'm using Visual Studio 2008 on Windows 7. When I'm editing .aspx file VS stalls and thinks for about 3 sec every time I add a tag. Very frustrating. I'm guessing its doing some kind of compilation or checking. What can I do to make VS more responsive?
View 1 Replies
Dec 10, 2010
This may be due to a lack of understanding of what's going on under the hood or simply a lack of understanding of threading in general. When a user logins I need to run some tasks that call web services to update data in my system. Since the services could take a considerable amount of time I thread the entire process. However, even though I think I'm running the whole series of tasks in a thread separate from my application, my application waits until the called function is finished before it proceeds.
WindowsIdentity identity = WindowsIdentity.GetCurrent();
Manager manager = (Manager)Session["Manager"];
ThreadPool.QueueUserWorkItem(new SafeWaitCallback().Call(identity, delegate(object noCallBack)
{
manager.RunAccountUpdater(identity);
}));
The application hangs until the function "RunAccountUpdater" is finished and the callback occurs. What am I doing wrong/not understanding?
View 1 Replies
Jul 30, 2010
I've pretty much gotten the hang of importing data from a database onto a website using asp.net, now I want to do the reverse.I want a site that the user logs into and makes 4 different selections from 4 drop-down lists and those choices are recorded onto the database. I've worked out the log in part (it was actually really easy...) but I wanted to know a good source to learn about exporting data.
View 3 Replies
Jan 8, 2010
I am battling a strange error. I have a form, formA, that has a modal popup extender to show a panel containing a gridview. One of the columns on the gridview is a link button that launch a new form, formB, in a new window (ie. the link contains target=_blank).
The code runs as expected. That is, the modal popup displays the grid and clicking the hyperlink launches the page in a separate window. When you close the new page's window, as expected formA is still displaying the modal popup. If you close this modal popup it goes away as expected. Now, the wierd part. If you click on a control on FormA that causes a postback, the load event fires, but the postback event (ex button_click) handler is never called. The app is essentially hung. The only way to regain control is kill the application. This hang only occurs if you click on the hyperlink. If you just open and close the modal popup there are no problems.
View 1 Replies
Feb 18, 2011
I've created a new web application in Visual Studio 2008. Then I added a button, and in the Button1_Click event I put a redirect statement to a website. This is the only code I've added to the default app. But when I run this application on my development server and click on the button, a browser window opens and then permanently hangs without showing the page content.This is a simplified version of a problem I'm having in another app. I can't get past this. Why does this resonse.redirect statement cause the browser (I'm using IE8 and Windows Vista) to hang?
Protected
Sub Button1_Click(ByVal
sender As
Object,
ByVal e
As EventArgs)
Handles Button1.Click
Me.Response.Redirect("http://www.microsoft.com")
End
Sub
View 2 Replies
Feb 8, 2011
I've been writing an app using the awesome new Razor view engine and for the most part, things have been great.
One issue I keep running into, however, is that if I should happen to write invalid code, such as referencing a null property or even a non existent property, rather than throwing an error, something happens in the background that causes the browser to wait and wait and wait and if I do not cancel the browser's request quick enough, IIS will simply hang.
It seems as if it enters some sort of loop. CPU usage goes up (though not terribly high) and restarting IIS via either GUI or iisreset command seems to take abnormally long (presumably while it waits for the process to safely shutdown).
This also happens for other invalid code scenarios such as failing to close a code block with a closing brace.
View 1 Replies
Oct 23, 2010
I'm wondering if I should learn everything in C# like what WPF and Win Forms should learn to be excellent web developer or is there specifc C# for the web?
View 3 Replies
Sep 27, 2010
XML Webservice: the webservices takes in an XML request and responses with a XML response.im not sure if im doing the right thing for the request?ith the XML request, do i take the XML request from the page input parameter?
http://api.domain.com/webservice/xmlExample1.aspx?xml=<Example1><FirstName>David</FirstName></Example>
<-- XML Request (this looks very wrong)
xample1Response>
<Success>True</Success>
</Example1Response>
View 1 Replies
Aug 7, 2010
I am building a mvc app using structuremap.. I have quite a few places where I use ObjectFactory.GetInstance<InstanceName>(). my app was working fine until I added a couple more functions, now all it does when I start up my app in VWD2010 express is stall and give me a StackOverflowException when I debug. and most of the exceptions are with ObjectFactory.GetInstance<InstanceName> calls.
View 1 Replies
Oct 17, 2010
im very new to ASP.NET and web based applications. I am very interested in building websites though. a friend told me " if you want to build web sites then forget ASP.NET as that is for applications, stick with HTML" .... but HTML is static code and ASP. NET is dynamic and surely better? the oinly one real thing that gets me though is this "if ASP.NET is used to build Web-forms and web based applications then what good is it for building web sites? ... a web based application and web site/ page are 2 different things? so if i want to get into building web sites for me and other people, what should i need to know? HTML, PHP ect?
View 6 Replies
Jul 21, 2010
I have an self-referencing entity which maintains a list of like entities that are it's children. What I need to do is build a dropdown that lists all possible parents so when I add or edit a new entity of that type, I can select it's parent (or no parent). The problem lies in the sql. I simply don't know how to word it.
IList<ParentForumModel> parentForums = new List<ParentForumsModel>();
foreach (Forum forum in forumRepository.GetAll())
{
// not sure how to handle this here because it isn't in the correct order. I need them to be grouped by parent and sorted by the sequence field. It also needs to be a flat dataset, not something uses IGroupedQueryable or some such.
}
ForumAddModel model = new ForumAddModel
{
ParentForums = parentForums,
// other properties
}
public IQueryable<Forum> GetAll()
{
return context.Forums.??? // what Linq do I need here?
}
If this simply isn't possible with Linq2Sql, then is there a system where it is possible? Please don't say hnibernate.
View 9 Replies
Dec 10, 2010
I have a web application solution with 14 projects which include web services, class libraries, sub-web applications.. can anyone provide a solution on how to get along with an example?
View 1 Replies
Mar 10, 2010
I'm having trouble with a WAP (web application project). It builds fine within studio (and it uses a number of other assemblies which build before the web application). However, I've always used aspnet_compiler to publish web sites in the past which is then deployed to the server. So I'm building the WAP solution (including assemblies) then publishing just the website folder and not the assemblies within the solution.1) Do I need to run aspnet_compiler.exe after building the WAP. I guess the WAP build causes the bins to be created correctly but the ASPX pages are still uncompiled?
View 9 Replies
Jan 24, 2011
I'm building an easy plugIn for validations, after setting up some options to be editable,
and after cycling all the fields i wrote:
$(this).submit(function () {
where "this" is the main element (the form).Now I was wondering to use this plug-in in asp.net as well, so without using an html form, where there are just some inputs into a div and on click on a specific button it start...So I know that here I have to change the submit... and trying to bind it on click of the button... I don't know how to solve this...
View 2 Replies
Mar 12, 2011
I am planning to create a Customer Relationship Management (CRM) application. I have to use C# and Visual Studio 2008. What is the best approach to get started and what resources can I use to make this process easier?
View 2 Replies
Jun 20, 2010
I need assistance on the following issues, i am trying to create a site which involve forum , i need code for the following. or i need schema and data type for
1. last post
2. views
3. replies
4. user onlines
5.total post
6. thread.
7.last post like less than 5 minutes
View 14 Replies
Jan 31, 2011
I'm trying to use DropDownList like this
[Code]....
and when I build my project I get this error:
Error 2 'System.Web.WebPages.Html.SelectListItem' does not contain a definition for 'WriteLiteral' and no extension method 'WriteLiteral' accepting a first argument of type 'System.Web.WebPages.Html.SelectListItem' could be found (are you missing
a using directive or an assembly reference?) c:UsersUser1AppDataLocalTempTemporary ASP.NET Fileswebmvp8a9a9ab08b762337App_Web_nzuoptnz.3.cs 71
How I can fix this?
View 1 Replies