Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "banksearch"

The expected pagination and page size control location is shown in screenshot below:

However the look changes if I hit Ctrl+F5. The page then appears as shown in the below screenshot:

It might be some file caching issue, however nothing has been changed in the stylesheets or js files associated with datatable. Do you have any idea what might be causing this?

Edit: We are using the jQuery version:

Thanks

I am having the same issue.

Why would I need to add these properties in MyTestInput:

IsDeleted DeleterUserId DeletionTime LastModificationTime LastModifierUserId CreationTime CreatorUserId

All these properties are automatically filled by the framework. This is not a data that I collect from the end user. So It is pointless to add those into POCO Input class.

Any better sugestion why this error happens when Input is mapped into actual Entity class?

Normally, swagger reads the Data Annotations and shows whether the property is required or not in the documentation as below:

"definitions": {
    "TodoItem": {
        "required": [
            "name"
        ],
        "type": "object",
        "properties": {
            "id": {
                "format": "int64",
                "type": "integer"
            },
            "name": {
                "type": "string"
            },
            "isComplete": {
                "default": false,
                "type": "boolean"
            }
        }
    }
},

But as the web apis are generated dynamically this does not seem to be working.

Even I have the [Required] attribute in some properties, swagger document seems to totally ignores those.

Any idea why?

Thanks for the code. It helped me to find a way to hide all. I have created a custom attribute as ShowSwagger and onyl shows the services that has the ShowSwagger.

Hi There,

I would like to hide all dynamic APIS from /swagger documentation. (Still generates dynamic apis but hide them from documentation)

I have seen a note about this in your documentation stating that this could be achieved like below

"API Explorer All dynamic web api controllers are visible to API explorer by default (They are available in Swagger for example). You can control this behaviour with fluent DynamicApiControllerBuilder API or using RemoteService attribute defined below. i RemoteService Attribute You can also use RemoteService attribute for any interface or method definition to enable/disable (IsEnabled) dynamic API or API explorer setting (IsMetadataEnabled)."

However, When I use the attribute [RemoteService(IsMetadataEnabled=true)] in the services, This is perfectly hides the documentation in swagger. But also breaks the page that service does not get created

My understanding is that if [RemoteService(IsEnabled=true)] then the dynamic api should still be generated. And IsMetadataEnabled=false should disable the swagger ui.

I have put the attribute for the class HostDashboardAppService class and this breaks the home page as I guess home page uses the api.

Is there any better way to hide all dynamic apis from the documentation?

I have also tried swagger way to hide the apis but as the apis are generated dynamically

[ApiExplorerSettings(IgnoreApi=true)] did not work to hide documentations.

Any better idea to hide all dynamic apis documentation?

Regards,

Yes. All browsers are the same. Is there a way to add a screenshot here?

I could see the difference between local and azure version. The difference is that even though fonts folder is in under wwwroot folder, When you open inspector in chrome browser and select Sources tab you cannot see fonts folder in the list. But when you open the application in the localhost then fonts folder appears in Sources tab.

I have also updated "WebSiteRootAddress" in appsetings folder but still cannot get the fonts working in azure web app.

Thanks,

Hi there,

we have created CD CI in VSTS. When we build the application on local fonts are showing correctly. However, When VSTS build and release the application the fonts do not appear to be loaded correctly.

The error on the browser: "Failed to decode downloaded font"

The project is asp.net core 2.0. We even tried to add mime types in the web.config but no luck. Any idea how we could fix this issue?

Regards,

Showing 11 to 17 of 17 entries