|
I've seen too many bugs caused by "impossible" events to take the risk.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I agree, which is why I'd use "as" rather than casting as you did in your example as your code would error if the session variable existed but contained a different object
Sessions last for the period of the page execution. It has to exist for the page to start executing so can't time-out mid execution. It'll only become unavailable if something terminal has happened like the app unloading, and your code will stop working in that instance anyway.
|
|
|
|
|
Hi All,
I am looking to create an ASP.NET application that will function as a scheduler application. Specifically its for meetings to be scheduled and viewed by everyone in the organization. I am well aware that exchange and outlook perform this action but the company wants a more web based stand alone application as this will be used for outside consultants that won't have accounts on the AD.
So the idea is that you will register on the website (web application) and then you will be able to schedule meetings viewable by other people with the same permissions.
If anyone can point me in the right direction to some libraries or tutorials it would be greatly appreciated.
Thanks
H
|
|
|
|
|
|
I will take a look into it thanks ! It might work but there is some extra functionality that I don't think google calendar will support.
|
|
|
|
|
|
Excellent ! This is great I can make this work accordingly
|
|
|
|
|
Hi Helgard W,
To create a scheduler application in ASP.NET, you can use various libraries and techniques available in the .NET ecosystem. I can provide you with some guidance to get started.
ASP.NET WebForms vs. ASP.NET MVC:
First, decide whether you want to develop the application using ASP.NET WebForms or ASP.NET MVC. WebForms provides a more event-driven model, while MVC offers a more structured and testable approach. Both can be used to create a scheduler application, so choose the one that suits your requirements and familiarity.
Database Setup:
You will need a database to store the scheduled meetings and user information. You can use SQL Server or another database of your choice. Set up the necessary tables to store meetings, users, and permissions.
User Registration and Authentication:
Implement user registration and authentication functionality so that users can create accounts and log in to the application. ASP.NET provides built-in features like Membership or newer ASP.NET Identity for this purpose.
Scheduler Interface:
Create a user interface that allows users to schedule meetings. You can use ASP.NET controls or client-side libraries like jQuery or React to build an interactive interface. When a user schedules a meeting, store the meeting details in the database.
Meeting Display:
Implement a page or pages that display the scheduled meetings to the users with appropriate permissions. Retrieve the meeting data from the database and present it in a user-friendly manner. You can use ASP.NET controls or client-side frameworks like Angular or Vue.js for this.
Permissions and Security:
Implement a permission system to control who can view and schedule meetings. You can assign roles or permissions to users and check these permissions before displaying or modifying meeting data.
Notifications:
Consider adding email notifications to notify participants about scheduled meetings or any updates. You can use libraries like SendGrid or SMTP to send emails from your ASP.NET application.
Testing and Deployment:
Test your application thoroughly to ensure it functions as expected. Once testing is complete, deploy the application to a web server or hosting environment.
|
|
|
|
|
In a new C# 2010 web form application, I am planning to use a reportviewer control for users to determine what ssrs 2012 reports they want to execute.
This plan is good for one report, but how about if the user wants to run a series of these reports. Basically there may be order the user wants the selected reports to be displayed. How would you accomplsih that goal?
How about if the user wants to add or delete ssrs reports that are to be executed. How would you accomplish that goal?
|
|
|
|
|
For some unexplained reason, the FK behavior has been resolved. But I don't have an explanation for it. The compiled site is working as it should, and I can update the html page. May have something to do with my computer? Merry Christmas.
RESOLVED!!
I have encountered some strange behavior with a website project. I'm using Visual Studio 2010 Pro, and have been for some while. I recently changed to IIS 7 pipes both at the site and my development machine. One page is an htm file that is accessed via menus from a master page. I can remove the file, or rename it, or modify it and what displays is an older version. This behavior is both at the site and the development machine. The only fix is that I renamed the file and changed the link in the ASP.NET menu. That works. I precompile the site and deploy it. I want to be able to edit the htm file without recompiling the whole site. Is there a fix for this behavior? Everything works fine in VS 2013 community edition. And it worked fine with IIS when using the classic mode.
-- modified 25-Dec-15 19:06pm.
|
|
|
|
|
how to start android mobile app development
|
|
|
|
|
|
If you are planning to develop android mobile applications within visual studio, then you can start within the ASP.NET project template. But, if you want to go simple like Java, then C# is another good option. C# is somewhat similar to Java.
|
|
|
|
|
<asp:GridView ID="grid1" DataKeyNames="ID" runat="server" AutoGenerateColumns="False" CellPadding="2" ForeColor="Black" GridLines="None" Width="920px" BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" Height="988px" Style="text-align: center;" AllowPaging="True" PageSize="5" OnPageIndexChanging="grdData_PageIndexChanging" AllowSorting="True">
<AlternatingRowStyle BackColor="PaleGoldenrod"/>
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox ID="chkDel" runat="server" />
</ItemTemplate>
</asp:TemplateField>
|
|
|
|
|
Please stop posting the same question in multiple places: two in this forum (one deleted) and two in QA (one deleted), all minutes apart does not help you get a response faster - quite the reverse, it duplicates work and annoys people instead.
Pick a single place, post your question and have a little patience!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I Running Of Asp.net Website but show this type errorThe page isn't redirecting properly Can help me Someone .....these are occur error in Firefox
|
|
|
|
|
You would require to provide more detail about your code.
Life is a computer program and everyone is the programmer of his own life.
|
|
|
|
|
Hello,
I have a need to create a spreadsheet upon demand (use triggered). Because of the volume of records, I cannot have the user wait and was thinking of creating a job queue. My question is if I create the queue within the website (separate running thread) and the last user logged off, does IIS shutdown the website even though a spreadsheet could be in the middle of being created or is it smart enough to realize a thread is "busy" doing something so stay running? If not, is the recommendation to create a windows service that would had the creation of these spreadsheets or?
Thanks for your time,
Nathan
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
|
|
|
|
|
Hi,
I would suggest to use middleware instead of relying on separate thread.
Some of the suggested option in your case:
1. Message Queue: MSMQ, MS Service Bus or RabbitMQ
OR
2. Add your Queue in persistent storage/Cache like Redis. It is reliable and will mostly process your queue even when your server restart.
Hope this will help.
Life is a computer program and everyone is the programmer of his own life.
|
|
|
|
|
Scott Hanselman posted a good list of the various options for scheduling background jobs in ASP.NET a while back:
How to run Background Tasks in ASP.NET - Scott Hanselman[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
What is 3 Tier Architecture? How to work It?
|
|
|
|
|
A typical n-tier application includes a presentation tier, a application tier, and a data tier as -
Presentation Tier: Here you can present your services/data/information to user. This tier communicates with other tiers by sending request/results to the browser and other tiers in the network.
Application Tier: Also called the middle tier, logic tier, business logic or logic tier, this tier is pulled from the presentation tier. It controls application functionality / business logic implementation by performing detailed processing.
Data Tier: Database servers where information is stored and retrieved. Data in this tier is kept independent of application servers or business logic.
https://msdn.microsoft.com/en-us/library/bb384398.aspx[^]
Hope this helps.
modified 20-Sep-20 21:01pm.
|
|
|
|
|
N-Tier applications are data applications that further divided into multiple tiers. The easiest way to separate the various tiers is to create discrete projects for each tier that you want to include in your application. Presentation tier and the Logic tier are sometimes called Business Logic Layer. Nowadays, I am watching many companies hiring those web developers who are familiar with N-Tier architecture, or must be able to develop N-Tier apps.
|
|
|
|
|
I have a web page, .net 4.5, that has a tab control. The second tab contains a chart control. When I run the page in VS 2013 Community Edition, it displays as it should. However, in the designer only the upper left portion of the chart is visible. Is there a way to fix this so that I can see the entire chart? I have a desktop application which has the same chart in a tabbed page, and it is all visible in the designer. I can't find anything to make the whole chart visible. Nothing scrolls, either. I have been unable to find anything on the web to shed light on this behavior.
Bobby
|
|
|
|
|
If you are setting the chart data dynamically, then, it seems to be the expected behavior.
Your design view cannot generate chart preview unless it gets the data. Even if it gets the data, generating design view is costly from performance point of view, so, it should not be done.
I would suggest not to rely on design view and test your charts while running it directly.
Life is a computer program and everyone is the programmer of his own life.
|
|
|
|