Questions tagged [enterprise-web-library]

The Enterprise Web Library (EWL) is an extremely opinionated library for web applications that trades off performance, scalability, and development flexibility for an ease of maintenance you won't find anywhere else. It is built on ASP.NET and is available as a NuGet package.

33 questions
1
vote
1 answer

Is there a way in EWL to dynamically set the title of the page based on my location?

The title (in this case I care about the text showing up on the Tab of Firefox) of my page is always the long name of the system, and then my location tacked onto the end of it. I'm in a situation where I want to kind of have two sites under the…
Greg Smalter
  • 6,571
  • 9
  • 42
  • 63
1
vote
1 answer

How do I properly set up forms authentication in EWL?

I want to use forms authentication for an entire web site in EWL. It's just not working. I have created a UserManagementProvider which extends FormsAuthCapableUserManagementProvider. I have set the root Entity Setup to force there to be an…
Greg Smalter
  • 6,571
  • 9
  • 42
  • 63
1
vote
1 answer

How do I configure a Server-Side Console Project in EWL?

I know I have to define this section in Development.xml: Program Assembly Do I have to do anything else?…
Greg Smalter
  • 6,571
  • 9
  • 42
  • 63
1
vote
1 answer

How often is WindowsServiceBase.Tick() called in an EWL Windows Service?

I have determined that I have some intense operations that shouldn't occur in the context of a web request in my EWL web application. I see that EWL supports running a Windows Service which will be perfect for running my intense operations in the…
1
vote
2 answers

What do I have to do to get EWL Shortcut URLs to work?

I have this code: protected override IEnumerable GetShortcutUrlResolvers() { return new[] { new ShortcutUrlResolver( "someShortcut", ConnectionSecurity.SecureIfPossible, () => SmartRedirector.GetInfo(…
Greg Smalter
  • 6,571
  • 9
  • 42
  • 63
1
vote
1 answer

How can I use the ExportLogic command in EWL to deploy an application?

What exactly are the steps to take after running ExportLogic in the Package Manager Console? Does this do anything for updating the database on the server?
Sam Rueby
  • 5,914
  • 6
  • 36
  • 52
1
vote
1 answer

Why are some page/application methods in EwfPage and others in EwfUiStatics?

I've been using EWL for some time now and I feel as though there is an inconsistency. Some actions, like adding a status message is done via the EwfPage instance and others such as adding a page-level Action is done via EwfUiStatics. Why aren't all…
Sam Rueby
  • 5,914
  • 6
  • 36
  • 52
1
vote
1 answer

What is the purpose of the validationErrorNotifier in generated FormItems?

I've got FormItems getting generated against the tables in my SQL database. I'm looking through the generated FormItems for my TableModification and I'm noticing an interesting optional parameter Action validationErrorNotifier. How does one use this…
Sam Rueby
  • 5,914
  • 6
  • 36
  • 52
1
vote
1 answer

What use is initUserDefaultOptionalParameterPackage in EWL?

I'm using EWL and I have an EwfPage and when I type partial in the Info class I see: partial void initDefaultOptionalParameterPackage( OptionalParameterPackage package ) and partial void initUserDefaultOptionalParameterPackage(…
Sam Rueby
  • 5,914
  • 6
  • 36
  • 52
1
vote
1 answer

How to add a custom style sheet to a web application utilizing EWL?

I'm trying to use Enterprise Web Library to quickly bring up a a web app and I want to add a custom style sheet. I'm not sure how I can reference the style sheet within the application.
Sam Rueby
  • 5,914
  • 6
  • 36
  • 52
1
vote
1 answer

How to add custom validation with a FormItem-getter

I need to validate a field as a Zip code and I want to use the FormItem-getter that was generated for the table I'm building a form for. There's no "GetZipCodeZipFormItem" FormItem getter being generated but I've noticed you can validate a Zip code…
Sam Rueby
  • 5,914
  • 6
  • 36
  • 52
1
vote
1 answer

How do I start an EWL project?

Is there a process or solution template to create a brand new EWL project?
Greg Smalter
  • 6,571
  • 9
  • 42
  • 63
1
vote
1 answer

Is AppTools.Init the only method that depends on physical configuration files?

If not, what other parts of EWL require configuration file be at a particular location? For the config files that AppTools.Init does require, is it possible to specify that information in a different way? (By passing the config XML directly, for…
1
vote
1 answer

How do I create and deploy a Windows service in EWL?

I know EWL has support for services, but I'm not sure what is different about them or what steps I have to take to create one. Also, is it possible to manually deploy an EWL service in the same manner as a conventional service, or do I have to use…
Greg Smalter
  • 6,571
  • 9
  • 42
  • 63
1
vote
1 answer

Creating read-only forms in EWL

I'm using Enterprise Web Library to create some elaborate web forms, which I've found to be very easy using the auto-generated form items and FormItemBlock. This is great for users who have authorization to mess with this data but my current issue…
Sam Rueby
  • 5,914
  • 6
  • 36
  • 52