|
I've already been through that page. It doesn't really apply as I'm not doing a web app. My client is WPF. I did had the Config item, but everything else doesn't apply.
Thing is, I have this running on my home sever. I just can't get it to run on IIS on my Dev PC here at the office.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
I'm trying to set up error handling in my SignalR app.
This leads me to believe that when I call a method on the server that doesn't exist, I should be able to CATCH an exception for it.
I've done exactly what the example code shows, yet neither the Error event nor the try/catch ever fire:
My Connect method:
public void Connect()
{
_connection = new HubConnection(ServerUri);
_connection.TraceLevel = TraceLevels.All;
_connection.TraceWriter = Console.Out;
_hubProxy = _connection.CreateHubProxy("DashboardHub");
_hubProxy.On<string>("EchoMessage", EchoMessageReceived);
_hubProxy.On<AssayDashboardInfo>("ResultsAdded", ResultsAdded);
_hubProxy.On<AssayDashboardInfo>("ResultsChanged", ResultsChanged);
_connection.Error += ex => Console.WriteLine("ERROR!!!!!!!!: {0}", ex.Message);
_connection.StateChanged += _connection_StateChanged;
try
{
_connection.Start();
}
catch (Exception e)
{
throw;
}
}
then later I do:
try
{
_hubProxy.Invoke("NotARealMethod");
}
catch (Exception e)
{
throw e;
}
What I DO get is a bunch of text in the Console window which includes
"OnMessage({"I":"0","E"
:"'NotARealMethod' method could not be resolved. No method found with that name.
","T":" at Microsoft.AspNet.SignalR.Hubs.NullMethodDescriptor.<get_invoker>b__
6_0(IHub emptyHub, Object[] emptyParameters)\r\n at Microsoft.AspNet.SignalR.H
ubs.HubDispatcher.Incoming(IHubIncomingInvokerContext context)\r\n--- End of sta
ck trace from previous location where exception was thrown ---\r\n at System.R
untime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at Syste
m.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(T
ask task)\r\n at Microsoft.AspNet.SignalR.Hubs.HubPipelineModule"
Anyone have an ideas on what's wrong?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
In case anyone's interested, this works:
ubProxy.Invoke("NotARealMethod", message).ContinueWith((t) =>
{
if (t.Exception != null && t.Exception.InnerException != null)
{
throw t.Exception.InnerException;
}
});
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
I want to use javascript and css into my mobile AMP pages, while i am using external script and css, AMP validator shows validation result as "Fail". Could you please help me to resolve this issue.
|
|
|
|
|
Is it possible to make a browser based app without dependence on a particular browser?
If yes please suggest the possible way?
If not then what are the alternate, I need a small application where user will not need to log in again and again, once logged in then he/she can do use that.
I made a Chrome browser widget but client needs without depending upon particular browser.
Any suggestions?
Thanks
|
|
|
|
|
HTML/CSS/JavaScript
Use only the parts supported by all major browsers...
Use some libraries, supporting all the browsers you want...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Almost every web application is build neglecting the browser dependencies; CSS and JavaScript run natively on browsers just a difference of a bits come in action. Such as, how a CSS render a pixel and so on. Otherwise, how much APIs do JavaScript engine support etc. Otherwise, there is not much difference in the other all application development. The proof for this is: CodeProject runs on all the browsers.
Just create a simple web application, you may use ASP.NET for that, it will have authentication, dynamic page generation, database connectivity etc. all set up for you. You can then move onwards and develop your own logic to run in that application.
Read this to get started, Understanding ASP.NET MVC using real world example, for beginners and intermediate
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
i meant extensions which i can download in browser
|
|
|
|
|
They are definitely browser-based, until now there haven't been a platform to write cross-browser extensions.
Chrome and Opera share the same API, so you may use it, Firefox is a bit of different beast and that is when you might require some third-party tooling, which is not guaranteed to work with everything but will give a good way to start.
Kango cross-browser extension framework
Cross-Browser Extensions API? - Stack Overflow
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Alright, thank you
|
|
|
|
|
When you're looking at implementing a feature that has a complex central element (like BLOB), you can always check: Can I use... Support tables for HTML5, CSS3, etc
Most features do have shims for cross-browser support, but I tend to avoid those for overhead reasons. Better to make it play nice at a basic level, IMO.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli
|
|
|
|
|
I'm not a web developer. I have a very small amount of experience with MVC, yet I need to display the results of a query as a table in a page. I really have no idea how to proceed.
I'm doing an app that will have a small client side class that will submit data to a SQL server. I then need a page that displays the results of a query in a table.
The data model is in a shared project.
Can someone please point me in the right direction?
Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Does it have to be MVC? Web Forms and a simple GridView would be very easy to throw together.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
RyanDev wrote: Does it have to be MVC?
No
RyanDev wrote: Web Forms and a simple GridView would be very easy to throw together
Any examples/tutorials that you know of to get me started?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Hi,
1) I want to integrate Apple Pay on my website (so it's a Apple Pay - Web Integration), using the Braintree payment provider, JS as a client side language and Java as a server side language.
I'm having difficulties creating a proper sandbox environment for my Apple Pay implementation Testing.
Followed the steps from the Apple docs but it seems they are not accurate :
-says to create a Merchant Id, one for sandbox and one for production (as far as I can see, at the moment of creating those 2, there's no way of telling that you want to use one for the development environment and the other for the production)
- after that, says to create a Certificate using the Merchant ID created before; if I sign in to my Apple Developer Account, I can see the 'Development' and the 'Production' sections, but when I try to create a sandbox/development certificate, Apple Pay is not available for it, only in the production section (see below images).
Is there a way to create a Sandbox / Development Apple Pay certificate, or are there any other ways to properly test the Apple Pay integration ?
2) I tried creating a sandbox user tester account from iTunes, but when I tried to login on Itunes on my Ipad which I'm using for testing, I get the following error: 'Itunes account creation not allowed. This Apple ID cannot be used with the Itunes Store at this time. Please try again later.' (I already verified my Apple ID and followed all the steps to activate the account, but without any success)
3) As I was trying to create Sandbox Apple Pay certificates I mistakenly created 2 for the production environment. Could I revoke them without any problems and create another ones ?
If you integrated Apple Pay on the WEB, I would highly appreciate any help, since I'm having such difficulty in simply setting up my testing environment.
Images - links:
https://i.stack.imgur.com/7aGer.png
https://i.stack.imgur.com/WEYPR.png
Thanks Smile |
|
|
|
|
|
Hi, I am basically a software developer looking for a Laravel based admin template with all the Advanced functionalities which can save my tons of hours of production so that i can develop my projects at a quicker pace,can anyone please suggest me regarding this?
|
|
|
|
|
I have just discovered W3.CSS[^], an equivalent framework to Bootstrap and looking at it, it seems to give me all the function of Bootstrap, but, at first glance, seems easier to tailor.
Has anyone looked at/used W3.CSS? If so, what did you think of it as regards Bootstrap?
|
|
|
|
|
That is just a combination of Bootstrap and Angular, pretty much I do like it, but since Bootstrap is more widely used + has a community, I'll stick with it.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
Hi,
I am developing a mobile app and need to have PHP webservice for it to return JSON result.
If I am going to make the service and copy it on my host then connect to it then I will achieve what I want but how about the security of the webservice? and how can I make sure it won't be indexed in Google and also how can I make sure no one will be able to access it with a kind of security?
Kindly advise...
Thanks,
Jassim
Technology News @ www.JassimRahma.com
modified 14-Jul-17 15:54pm.
|
|
|
|
|
Hello all,
Im new to programming/coding and wanted to know do you all use notepad or some fancy rendering software that makes things easier? I've seen something on the net once that helped point out errors, for instance if you forget to close a tag.
thank you
|
|
|
|
|
We (mostly) do not use notepad, we use one of the many IDE (Integrated Development Environment) packages that are available: Visual Studio, Visual Studio Code, eclipse, Netbeans etc. Google will lead you to their home pages, so you can decide which one suits your requirements.
|
|
|
|
|
Great thank you. I tried google earlier but searching kept bringing tutorials. I found program called bracket trying now ^^
thank you
|
|
|
|
|
|
Those products are called IDEs (as Richard pointed), we do not use notepads, as they require us to shift our attention from editor to compiler, to runtime, to some terminal or program to show results. Use Visual Studio Code[^], it is above than Notepad, less powerful than Visual Studio, but supports web development of any platform.
For an in-depth, see Language Support in Visual Studio Code[^].
If you need something big, use Visual Studio Community.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|