|
If marketing were true we'd all be out of a job because there's all kinds of tools that make writing applications a snap!
|
|
|
|
|
I am very much a newbie, and am trying to teach myself.
I have been following through tutorials on CodeProject.
Invariably, I come across a problem, which I can't solve, so I post a message.
None of these questions get an answer, despite me giving all the details.
The latest is
MVC Study
stebo0728, 2 Jun 2016 CPOL
4.75 (3 votes)
I posted the question:
I get the error:
An error occurred attempting to determine the process id of the DNX process hosting your application.
I should hope I might some sort of reply, but I doubt it.
|
|
|
|
|
That question will be answered by the author of the article when he/she sees your message. Please learn to be patient, everyone here helps in their own time, many have full time jobs, and some even take time off at the weekend.
|
|
|
|
|
There are a couple of reasons: first off it's a weekend, so much of the western world is busy "getting a life" or in many cases "recovering from getting a life last night" and aren't at work. Since everybody answering questions is a "normal" member - just like you - many of them answer questions when at work, not when out enjoying the sunshine!
Secondly, you are trying to talk to one specific person: the author of the article. We know he is still active, because the article was posted recently, but there is a good chance that he uses his work email to sign in (so he gets messages during the working day) and that he won't find out you want to talk to him until next time he's back in the office.
But...can I suggest that you are going about this totally the wrong way?
Member 11740855 wrote: I am very much a newbie, and am trying to teach myself.
I have been following through tutorials on CodeProject.
First off, most of the articles here aren't specifically tutorials: they are a solution to a problem rather than trying to teach you "how to do MVC" - and I would steer well clear of articles which do claim to teach you how to do it!
Secondly, that's a bad approach. The trouble with trying to learn on your own but finding "tutorials" and reading them is that you don't know if there is something you have missed. If you follow a structured course, they explain and introduce all the important bits in a logical order so it's easy to follow and you know that they haven't just skipped the important bits.
Go on a course (best), get a book (second best) and follow it through, do all the exercises. But finding tutorials online and hoping they cover the subject (or even are written by people who know what they are talking about and can actually teach)? Not a good method. It's like trying to learn to drive a car by starting on the motorway / interstate...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: It's like trying to learn to drive a car by
... watching a travelogue of a particular trip someone took.
|
|
|
|
|
That's a good simile!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Did you follow the rules for posting a question?
see here[^]
Many members consider it rude to post a question like "I receive error X when running my application." without any information on what you're trying to achieve or what you did to lookup a solution yourself. (didn't see your post so I don't know if you did or didn't)
|
|
|
|
|
If you check the OP messages list, it's pretty obvious which one he means.
It's not a good question, but I've seen a lot, lot worse!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
People always told me that, no matter how good you are in something, there's always someone who's better.
Experience thought me that, no matter how bad you are at something, there's always someone who's even worse
|
|
|
|
|
Thanks to all the people who've replied.
First of all, the example I gave was the most recent, I have other examples going back weeks.
I don't think I broke the rules about replying, I was not being critical, just trying to find out why I couldn't get something to work.
Though I consider myself a newbie, I also have a long history of being a developer, and debugging. I can usually find out what is going wrong, and only post when I can't work it out myself.
If the article writers would just put exactly what you need at the top of the article, that would help.
Respect to you all, and the original writers.
|
|
|
|
|
Member 11740855 wrote: If the article writers would just put exactly what you need at the top of the article Yes, in a perfect world ...
Most article writers have to make certain assumptions about their readers, so they cannot guess in advance what 'extra' information you may need.
|
|
|
|
|
I found this example:
[^]
But I am receiving an error, and I don't know how to fix it.
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Currency_convert.Form1.resources" was correctly embedded or linked into assembly "Currency_convert" at compile time, or that all the satellite assemblies required are loadable and fully signed.
If someone can please help me, I would really appreciate it.
|
|
|
|
|
As it's an article, please ask your question in the forum at the end of it.
This space for rent
|
|
|
|
|
It appears the author of this March 2007 article has not answered a question on the article since July 2007.
I was able to download the source code, open the project in VS 2013, and compile with .NET FrameWork 4.5. I removed the ASP.Net example from the project. I set the WinForms Demo as the startup project.
The author put this code up as a signed assembly. You need to open the Zayko.Finance.CurrencyConverter Properties in the Solution Explorer and uncheck the 'use signed Assembly' in the Signing tab.
The code is making web-requests to Yahoo's finance server, and I wouldn't be surprised if some of the currency codes may have changed.
But, I was able to run the project and see some apparently valid conversions.
I suggest you consider code like this ... from articles several years old, with no recent replies by the author to comments ... as code you can study and learn from, rather than code you can use as-is for any real-world application.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
I am using SQL 2005. I have one table has many records, I open a table from SQL Server 2005 does not see commodity code '005' but when I query commodity code '005' is seen. you know why ? you fix this ?
|
|
|
|
|
The act of observing changes the observed.
Or, the default query is showing only the first 1000 records.
|
|
|
|
|
If you are using SSMS to "open the table" then as Gerry says, the default query restricts the number of records returned.
But that has nothing to do with C#, so I have to assume that you are fetching the table in code and the rows is not visible.
To have any idea on why that is, we would need to see the relevant code fragments you are using to fetch and display the records.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Hi,
I'm working on forecasting GDP by NN. I use a 70x10 input matrix and a 70x1 output. My applications works perfectly using EvolutionaryLearning.
But when I trying to switch from EvolutionaryLearning to BackpropagationLearning, the output is a fixed value after every RunEpoch.
Any suggestion?
Thnx
|
|
|
|
|
This isn't really a C# issue.
This question probably belongs up in Algorithms Discussion Boards - CodeProject[^]
"Fairy tales do not tell children the dragons exist. Children already know that dragons exist. Fairy tales tell children the dragons can be killed."
- G.K. Chesterton
|
|
|
|
|
Aforge has its own forums. I would ask their if I were you. After all, they are the experts.
This space for rent
|
|
|
|
|
Seconding what Pete O'Hanlon suggested, the place to post your question is: [^].
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
I am making a application in c# (Visual Studio 2015) and I need make a begininvoke from a form that is hidden. how I do this?
|
|
|
|
|
The visibility of the form doesn't have any bearing on you calling BeginInvoke. So... what's the problem?
|
|
|
|
|
I have to save & print thousands of these valuation records every year. It is my understanding that the fastest way to automate the process in C# is using httprequest. This particular website is giving me problems, Im guessing because of the 'JS_doPostback.' Anyone who could figure this one out would save me weeks of work every year, and would be a godsend! Below is an example of what i am having to thousands of times manually:
1. Navigate to Home page & click the link for 'Real Estate Tax':
2. Search by Account# or Parcel#
3. Find the page with the most recent statement and Click 'Details' (right now would be for year 2015 on page 3)
4. Save and or print this page. (Reaching this page and downloading it is my ultimate goal I am trying to achieve) I have pasted the website and account Numbers for example down below.
Home-Page:
https://egov.buchanancounty-va.gov/applications/TRAPPS/default.htm
3 Account#'s to use for example:
14327, 2877, 2983
Any help would be greatly appreciated!
|
|
|
|
|
My WCF REST service was created in a class library, hosted in a console app, and consumed in a console app.
Please see code below and my point out why both ID and StartTime are empty when I try to retieve them in my client app.
public class Player
{
public string ID { get; set; }
public string StartTime { get; set; }
public string EndTime { get; set; }
public Player()
{
ID = Guid.NewGuid().ToString();
StartTime = DateTime.Now.ToString();
}
}
[DataContract]
public class ChessGame
{ [DataMember]
public List<Player> Players { get; set; }
[DataMember]
public string PlayerId { get; set; }
public Facility()
{
Players = new List<Player>();
PlayerId = string.Empty;
}
public void StartGame()
{
Player p = new Player();
PlayerId = p.ID;
Players.Add(p);
}
}
public class GameService:IGameService
{
ChessGame cg = new ChessGame();
public void StartGame()
{
cg.StartGame();
}
public string GetPlayerID()
{
return cg.PlayerId
}
public string GetStartTime(string id)
{
return cg.Players.Find(p => p.ID == id).StartTime;
}
}
[ServiceContract]
public interface IGameService
{
[WebInvoke(UriTemplate = "Game/", Method = "POST", ResponseFormat = WebMessageFormat.Xml)]
[OperationContract]
void StartGame();
[WebGet(UriTemplate = "ID/", BodyStyle = WebMessageBodyStyle.Bare, RequestFormat = WebMessageFormat.Xml)]
[OperationContract]
string GetPlayerID();
[WebGet(UriTemplate = "Time/{id}", BodyStyle = WebMessageBodyStyle.Bare, RequestFormat = WebMessageFormat.Xml)]
[OperationContract]
string GetStartTime(string id);
}
static void Main(string[] args)
{
string ID = string.Empty;
ChannelFactory<IGameService> channelFactory = new ChannelFactory<IGameService>(new WebHttpBinding(), "http://localhost:8080");
channelFactory.Endpoint.Behaviors.Add(new WebHttpBehavior());
IGameService channel = channelFactory.CreateChannel();
channel.StartGame();
ID = channe.GetPlayerID();
Console.WriteLine("ID is: {0} ", ID);
Console.WriteLine("Game started at: {0} ", channe.GetStartTime(ID));
Console.Read();
}
modified 3-Jun-16 19:38pm.
|
|
|
|