|
Ahhh much thanks
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Code project is live and active for a long time, it has a lot of active users, just wondering the technical architecture (guessing asp.net webforms), user load and other statistics. 14,617,144 seems to be a lot of members, hardware infrastructure etc. Our company is planning to upgrade a asp.net webforms application to some JS VU or React and services on the backend probably .net core
So it would be interesting to show these statistics for backing webforms as if they still have some life left in it.
|
|
|
|
|
Sorry for now spotting this earlier.
Our stack is ASP.NET Webforms running against SQL Server with Redis.
Very old school.
If we had the time to rewrite (and we're constantly hoping) we'd use ASP.NET on .NET 5.0 using Blazor pages. I would not be using React or Vue (though I love Vue) because of the download size. Server side rendering will result in a faster client side render meaning you stand a better chance of getting past the very, very strict speed requirements of Google et al.
Caching is your friend.
cheers
Chris Maunder
|
|
|
|
|
Currently I'm working with .Net 5.0 with micro services, I would be happy to help rewriting if you are planning to.
Code Project is a great community resource, it has helped a lot of people like me so it'll be an honor to contribute to the project.
|
|
|
|
|
That's a very kind offer.
cheers
Chris Maunder
|
|
|
|
|
Which Technology will you use if you are doing that now.
|
|
|
|
|
With the release of .NET 7 we'd be using that, and taking advantage of all the middleware conveniences and the massive optimisations in the runtime. We'd also be running solely on Linux: no Windows at all.
Front end? I'm not sure. Most likely what we have: server side generated, augmented with as little Javascript as possible
cheers
Chris Maunder
|
|
|
|
|
|
|
myanmar font[^]
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
When you filter articles with more then 5 pages, the 6th page is blank.
|
|
|
|
|
That is nothing to do with the CodeProject API. If you have a problem with something on the site not working then please report it at Bugs and Suggestions[^].
|
|
|
|
|
When using the GetMessages API, is there a way to tell if a message is pinned?
|
|
|
|
|
Pinning is purely a browser-side operation that isn't persisted anywhere.
Or do you mean whether a message is stuck to the top of the forum (We call these "sticky")?
cheers
Chris Maunder
|
|
|
|
|
Yes, I meant sticky. (The pin icon has a "Pinned" tooltip, so I thought that was the official term.)
As a workaround I found that I can do something like if (messages[i] timestamp < messages.Last() timestamp) { pinned } but I was wondering if there was an officially supported, less hacky way to do it.
|
|
|
|
|
At this point our only option would be to revise the API version and provide an added property. Simple for us but potentially a breaking change for those mapping strongly typed variables to our output.
cheers
Chris Maunder
|
|
|
|
|
I want to explore the CodeProject API, can someone please point me to a starting point for this?
|
|
|
|
|
|
Because of a "Server Error in '/' Application.".
The quick brown ProgramFOX jumps right over the Lazy<Dog> .
|
|
|
|
|
We're on it.
cheers
Chris Maunder
|
|
|
|
|
We're back.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Seems it's down again.
[^]
|
|
|
|
|
fixed. Both Chris and I keep forgetting the one special step in deploying this.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
I may be beating a dead horse here but I am experimenting a bit with the CodeProject API creating a C# wrapper for it to (perhaps some day) be used in a Xamarin app as I am keen in learning Cross-Platform development with Xamarin.
Anyhow I have things pretty much worked out but I am curious about the FormMessages API. Both calls in that API require a ID to be passed (forum ID or thread ID) but I am at a loss as to get those ID's... Is there a way that I can retrieve those ID's through the API (I.E. am I missing something blatantly obvious) or is that still missing from the API? If so then how would I get access to those ID's?
Regards,
Jan
|
|
|
|
|
A forum ID can be found from the URL of a forum. Here is the full list of forums.[^]. For example ".NET Framework" is 1650.
Each message has a "Permalink" whose URL contains an ID. The "thread ID" is the permalink ID of the top-level message, the thread.
The quick brown ProgramFOX jumps right over the Lazy<Dog> .
|
|
|
|